* util/grub-mkrescue.c (main): Add trailing \n in

.disk_label.contentDetails to be in line with previous shell script.
This commit is contained in:
Vladimir Serbinenko 2013-11-17 02:05:45 +01:00
parent 66c00cb159
commit 6aa6077bcc
2 changed files with 6 additions and 1 deletions

View file

@ -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.

View 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);