From 81d9db68052f793454babf3c127eb8da16277e19 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 11 Nov 2021 15:20:51 +0100 Subject: [PATCH] boot: line-break magic[] array to match osrel[] line breaks --- src/boot/efi/boot.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c index ccbdca22718..0bacfb4bbed 100644 --- a/src/boot/efi/boot.c +++ b/src/boot/efi/boot.c @@ -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[] = -- 2.47.3