From 6aa6077bcc38cd00a068ceb905dfe9ee7bd9c53c Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sun, 17 Nov 2013 02:05:45 +0100 Subject: [PATCH] * util/grub-mkrescue.c (main): Add trailing \n in .disk_label.contentDetails to be in line with previous shell script. --- ChangeLog | 5 +++++ util/grub-mkrescue.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 365aecc9d..813074e75 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-11-17 Vladimir Serbinenko + + * util/grub-mkrescue.c (main): Add trailing \n in + .disk_label.contentDetails to be in line with previous shell script. + 2013-11-17 Vladimir Serbinenko * util/grub-mkrescue.c (main): Use right source file for bootinfo.txt. diff --git a/util/grub-mkrescue.c b/util/grub-mkrescue.c index 512aca8d2..df55f3dcf 100644 --- a/util/grub-mkrescue.c +++ b/util/grub-mkrescue.c @@ -583,7 +583,7 @@ main (int argc, char *argv[]) free (label); label_text = grub_util_path_concat (2, core_services, ".disk_label.contentDetails"); f = grub_util_fopen (label_text, "wb"); - fprintf (f, "%s", label_string); + fprintf (f, "%s\n", label_string); fclose (f); free (label_string); free (label_text);