mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
* util/grub-mkimage.c (main): Fix format-security warning.
* util/grub-mkrelpath.c (main): Likewise. * util/grub-probe.c (main): Likewise.
This commit is contained in:
1 parent
65f08dbfe0
commit
69edd81ab7
4 files changed
+9
-3
No files matched your search
@@ -1,3 +1,9 @@
|
||||
2012-02-03 Richard Laager <rlaager@wiktel.com>
|
||||
|
||||
* util/grub-mkimage.c (main): Fix format-security warning.
|
||||
* util/grub-mkrelpath.c (main): Likewise.
|
||||
* util/grub-probe.c (main): Likewise.
|
||||
|
||||
2012-02-03 Richard Laager <rlaager@wiktel.com>
|
||||
|
||||
* util/grub-probe.c (probe): Don't crash on canonicalize_file_name
|
||||
|
||||
+1
-1
@@ -1821,7 +1821,7 @@ main (int argc, char *argv[])
|
||||
|
||||
if (!image_target)
|
||||
{
|
||||
printf (_("Target format not specified (use the -O option).\n"));
|
||||
printf ("%s", _("Target format not specified (use the -O option).\n"));
|
||||
usage (1);
|
||||
}
|
||||
|
||||
|
||||
@@ -89,7 +89,7 @@ main (int argc, char *argv[])
|
||||
|
||||
if (optind >= argc)
|
||||
{
|
||||
fprintf (stderr, _("No path is specified.\n"));
|
||||
fprintf (stderr, "%s", _("No path is specified.\n"));
|
||||
usage (1);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -798,7 +798,7 @@ main (int argc, char *argv[])
|
||||
/* Obtain ARGUMENT. */
|
||||
if (optind >= argc)
|
||||
{
|
||||
fprintf (stderr, _("No path or device is specified.\n"));
|
||||
fprintf (stderr, "%s", _("No path or device is specified.\n"));
|
||||
usage (1);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user