Fix few compile errors
This commit is contained in:
parent
122a9b2cd9
commit
09695ab80c
2 changed files with 5 additions and 2 deletions
3
docs/man/grub-menulst2cfg.h2m
Normal file
3
docs/man/grub-menulst2cfg.h2m
Normal file
|
@ -0,0 +1,3 @@
|
|||
[NAME]
|
||||
grub-menulst2cfg \- transform legacy menu.lst into grub.cfg
|
||||
|
|
@ -31,7 +31,7 @@ main (int argc, char **argv)
|
|||
|
||||
if (argc >= 2 && argv[1][0] == '-')
|
||||
{
|
||||
fprintf (stderr, "Usage: %s [INFILE [OUTFILE]]\n", argv[0]);
|
||||
fprintf (stdout, "Usage: %s [INFILE [OUTFILE]]\n", argv[0]);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -79,7 +79,7 @@ main (int argc, char **argv)
|
|||
fprintf (out, "}\n\n");
|
||||
if (oldname != entryname)
|
||||
fprintf (out, "menuentry \'%s\' {\n",
|
||||
grub_legacy_escape (entryname, grub_strlen (entryname)));
|
||||
grub_legacy_escape (entryname, strlen (entryname)));
|
||||
}
|
||||
|
||||
if (parsed)
|
||||
|
|
Loading…
Reference in a new issue