diff options
| author | Jim Meyering <jim@meyering.net> | 2004-01-21 23:49:31 +0000 |
|---|---|---|
| committer | Jim Meyering <jim@meyering.net> | 2004-01-21 23:49:31 +0000 |
| commit | 68e999b21f6d6e41b22c13ceea7bb3fccc39e707 (patch) | |
| tree | bbed061a430aa9c60e1eea7ce2861eee9e40a6c1 /src/uptime.c | |
| parent | (usage): Use EXIT_SUCCESS, not 0, for clarity. (diff) | |
| download | coreutils-68e999b21f6d6e41b22c13ceea7bb3fccc39e707.tar.gz coreutils-68e999b21f6d6e41b22c13ceea7bb3fccc39e707.zip | |
(usage): Use EXIT_SUCCESS, not 0, for clarity.
Diffstat (limited to 'src/uptime.c')
| -rw-r--r-- | src/uptime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uptime.c b/src/uptime.c index b039f01e5..652b256e8 100644 --- a/src/uptime.c +++ b/src/uptime.c @@ -1,5 +1,5 @@ /* GNU's uptime. - Copyright (C) 1992-2002 Free Software Foundation, Inc. + Copyright (C) 1992-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 @@ -182,7 +182,7 @@ uptime (const char *filename) void usage (int status) { - if (status != 0) + if (status != EXIT_SUCCESS) fprintf (stderr, _("Try `%s --help' for more information.\n"), program_name); else |
