diff options
author | Jim Meyering <jim@meyering.net> | 2004-01-21 23:50:20 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-01-21 23:50:20 +0000 |
commit | d5c5ccc4613ca9039de827fe8a975e572857d2f6 (patch) | |
tree | 651b94b94cf29a60b761144e7881c81a6f257dbf /src/whoami.c | |
parent | 1a013f63f9b2e15babbc30c84f96fb0cbe4b5cb1 (diff) | |
download | coreutils-d5c5ccc4613ca9039de827fe8a975e572857d2f6.tar.xz |
(usage): Use EXIT_SUCCESS, not 0, for clarity.
Diffstat (limited to 'src/whoami.c')
-rw-r--r-- | src/whoami.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/whoami.c b/src/whoami.c index 8b4318d4e..f666a677a 100644 --- a/src/whoami.c +++ b/src/whoami.c @@ -1,5 +1,7 @@ /* whoami -- print effective userid - Copyright (C) 89,90, 1991-1997, 1999-2002 Free Software Foundation, Inc. + + Copyright (C) 89,90, 1991-1997, 1999-2002, 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 @@ -43,7 +45,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 |