* util/grub-mkrelpath.c (main): Likewise.
* util/grub-probe.c (main): Likewise.
+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
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);
}
if (optind >= argc)
{
- fprintf (stderr, _("No path is specified.\n"));
+ fprintf (stderr, "%s", _("No path is specified.\n"));
usage (1);
}
/* 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);
}