]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bootspec: fix comment that says exactly the opposite of what is true
authorLennart Poettering <lennart@poettering.net>
Tue, 9 Nov 2021 22:51:35 +0000 (23:51 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 11 Nov 2021 16:22:27 +0000 (17:22 +0100)
src/shared/bootspec.h

index c7b4a2ee02dfc115cf58a0818a0287a5b117afc4..81845f47e37c749c650564a02e113bd738bbc13f 100644 (file)
@@ -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 */