]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
boot: line-break magic[] array to match osrel[] line breaks
authorLennart Poettering <lennart@poettering.net>
Thu, 11 Nov 2021 14:20:51 +0000 (15:20 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 11 Nov 2021 16:23:04 +0000 (17:23 +0100)
src/boot/efi/boot.c

index ccbdca227187ddfb7521bc750cd31bfe1dc7076f..0bacfb4bbed9bb66973b4c3f7e947569fe29a145 100644 (file)
@@ -29,8 +29,9 @@
 
 #define TEXT_ATTR_SWAP(c) EFI_TEXT_ATTR(((c) & 0b11110000) >> 4, (c) & 0b1111)
 
-/* magic string to find in the binary image */
-_used_ _section_(".sdmagic") static const char magic[] = "#### LoaderInfo: systemd-boot " GIT_VERSION " ####";
+/* Magic string for recognizing our own binaries */
+_used_ _section_(".sdmagic") static const char magic[] =
+        "#### LoaderInfo: systemd-boot " GIT_VERSION " ####";
 
 /* Makes systemd-boot available from \EFI\Linux\ for testing purposes. */
 _used_ _section_(".osrel") static const char osrel[] =