diff options
author | Jim Meyering <jim@meyering.net> | 2003-05-10 13:36:50 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-05-10 13:36:50 +0000 |
commit | 2de1d40446bc068b383f41dbc92c04a1fa1a62de (patch) | |
tree | 8069c0aa2770fefd59d6730c809227fa3e50b48c | |
parent | 09196004812cdc0ac6aa2329e314a7e7bf6d6256 (diff) | |
download | coreutils-2de1d40446bc068b383f41dbc92c04a1fa1a62de.tar.xz |
(main): Use error, rather than fprintf, for the sake of consistency.
-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); } |