summaryrefslogtreecommitdiff
path: root/src/logname.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-01-21 23:16:01 +0000
committerJim Meyering <jim@meyering.net>2004-01-21 23:16:01 +0000
commit0c3d855eaec1f8fbbe4fb856b3edcbf43234ff3e (patch)
tree70bd9777d0bec8881f815fecba4658d5cd69f9fc /src/logname.c
parent224f641c020038d49e3290a6d6ea3db518a3ead2 (diff)
downloadcoreutils-0c3d855eaec1f8fbbe4fb856b3edcbf43234ff3e.tar.xz
(usage): Use EXIT_SUCCESS, not 0, for clarity.
Diffstat (limited to 'src/logname.c')
-rw-r--r--src/logname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logname.c b/src/logname.c
index 455cea63a..1c9bc8d4b 100644
--- a/src/logname.c
+++ b/src/logname.c
@@ -1,5 +1,5 @@
/* logname -- print user's login name
- Copyright (C) 1990-1997, 1999-2003 Free Software Foundation, Inc.
+ Copyright (C) 1990-1997, 1999-2004 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -40,7 +40,7 @@ static struct option const long_options[] =
void
usage (int status)
{
- if (status != 0)
+ if (status != EXIT_SUCCESS)
fprintf (stderr, _("Try `%s --help' for more information.\n"),
program_name);
else