summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/printf.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/printf.c b/src/printf.c
index df636bfce..746bcb268 100644
--- a/src/printf.c
+++ b/src/printf.c
@@ -53,8 +53,9 @@
#include "system.h"
#include "c-strtod.h"
-#include "long-options.h"
#include "error.h"
+#include "long-options.h"
+#include "quote.h"
#include "unicodeio.h"
#if ! (HAVE_DECL_STRTOIMAX || defined strtoimax)
@@ -683,8 +684,8 @@ main (int argc, char **argv)
if (argc > 0)
error (0, 0,
- _("warning: ignoring excess arguments, starting with `%s'"),
- argv[0]);
+ _("warning: ignoring excess arguments, starting with %s"),
+ quote (argv[0]));
exit (exit_status);
}