diff options
-rw-r--r-- | src/printf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/printf.c b/src/printf.c index af2f31afa..bbd80edc5 100644 --- a/src/printf.c +++ b/src/printf.c @@ -572,8 +572,8 @@ main (int argc, char **argv) if (argc <= 1) { - fprintf (stderr, _("Usage: %s format [argument...]\n"), program_name); - exit (EXIT_FAILURE); + error (0, 0, _("missing operand")); + usage (EXIT_FAILURE); } format = argv[1]; |