]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/grub-mkrescue.c (main): Add trailing \n in
authorVladimir Serbinenko <phcoder@gmail.com>
Sun, 17 Nov 2013 01:05:45 +0000 (02:05 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Sun, 17 Nov 2013 01:05:45 +0000 (02:05 +0100)
.disk_label.contentDetails to be in line with previous shell script.

ChangeLog
util/grub-mkrescue.c

index 365aecc9d4bc26d3d8e57697809c39c891a0ec84..813074e758d51623aa418e2a301f3857b9aed589 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-11-17  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * 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  <phcoder@gmail.com>
 
        * util/grub-mkrescue.c (main): Use right source file for bootinfo.txt.
index 512aca8d28fcf3fc44b756f76b926662c6b6cbc0..df55f3dcf1024e148e689618862f10128cb0155f 100644 (file)
@@ -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);