diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/logname.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/logname.c b/src/logname.c index 0a2335c0c..ac2e8b300 100644 --- a/src/logname.c +++ b/src/logname.c @@ -100,6 +100,7 @@ main (int argc, char **argv) exit (EXIT_SUCCESS); } /* POSIX prohibits using a fallback technique. */ - fprintf (stderr, _("%s: no login name\n"), argv[0]); + + error (0, 0, _("no login name")); exit (EXIT_FAILURE); } |