summaryrefslogtreecommitdiffstats
path: root/src/shared/bootspec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/bootspec.h')
-rw-r--r--src/shared/bootspec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/bootspec.h b/src/shared/bootspec.h
index 1557bd0680..c7b4a2ee02 100644
--- a/src/shared/bootspec.h
+++ b/src/shared/bootspec.h
@@ -15,7 +15,7 @@ typedef enum BootEntryType {
BOOT_ENTRY_UNIFIED, /* Type #2 entries: *.efi files */
BOOT_ENTRY_LOADER, /* Additional entries augmented from LoaderEntries EFI var */
_BOOT_ENTRY_MAX,
- _BOOT_ENTRY_INVALID = -1,
+ _BOOT_ENTRY_INVALID = -EINVAL,
} BootEntryType;
typedef struct BootEntry {