diff options
author | Jim Meyering <jim@meyering.net> | 2004-01-21 22:42:34 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-01-21 22:42:34 +0000 |
commit | e77a63940a02531ecb7d906ff7bafa1b6042876d (patch) | |
tree | 6928ebb8a362ebe94e6cd5dda617b45176075fda | |
parent | ed246fdfc7aa7fc491ed6183dfb09e42a8c8496c (diff) | |
download | coreutils-e77a63940a02531ecb7d906ff7bafa1b6042876d.tar.xz |
(usage): Use EXIT_SUCCESS, not 0, for clarity.
-rw-r--r-- | src/basename.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/basename.c b/src/basename.c index 2bf1630cb..df6d33731 100644 --- a/src/basename.c +++ b/src/basename.c @@ -1,5 +1,5 @@ /* basename -- strip directory and suffix from filenames - 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 @@ -45,7 +45,7 @@ char *program_name; void usage (int status) { - if (status != 0) + if (status != EXIT_SUCCESS) fprintf (stderr, _("Try `%s --help' for more information.\n"), program_name); else |