mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(main): Use error, rather than fprintf, for the sake of consistency.
This commit is contained in:
1 parent
0919600481
commit
2de1d40446
1 file changed
+2
-1
+2
-1
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user