summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-11-09 23:51:35 +0100
committerLennart Poettering <lennart@poettering.net>2021-11-11 17:22:27 +0100
commit31f7765762105f82eacecfc6f510dc68b070fef7 (patch)
treeb98cc1acfc2ea8a893122821ecdaacff23c89fa6
parent1ce915a91c84fd775de93c54f4eb2e8735e18153 (diff)
downloadsystemd-31f7765762105f82eacecfc6f510dc68b070fef7.tar.gz
bootspec: fix comment that says exactly the opposite of what is true
-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 c7b4a2ee02..81845f47e3 100644
--- a/src/shared/bootspec.h
+++ b/src/shared/bootspec.h
@@ -20,7 +20,7 @@ typedef enum BootEntryType {
typedef struct BootEntry {
BootEntryType type;
- char *id; /* This is the file basename without extension */
+ char *id; /* This is the file basename (including extension!) */
char *id_old; /* Old-style ID, for deduplication purposes. */
char *path; /* This is the full path to the drop-in file */
char *root; /* The root path in which the drop-in was found, i.e. to which 'kernel', 'efi' and 'initrd' are relative */