diff options
author | Jim Meyering <jim@meyering.net> | 2004-01-21 22:56:47 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-01-21 22:56:47 +0000 |
commit | 02e20fbfea39810a380d2a1c94129c0fcb050d37 (patch) | |
tree | e0befb776c83634ea7d13dd771fbd96d988eed43 /src/dirname.c | |
parent | ebdc23b3c0fde85e80e27a77ae50e9cfe726f368 (diff) | |
download | coreutils-02e20fbfea39810a380d2a1c94129c0fcb050d37.tar.xz |
(usage): Use EXIT_SUCCESS, not 0, for clarity.
Diffstat (limited to 'src/dirname.c')
-rw-r--r-- | src/dirname.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dirname.c b/src/dirname.c index 347623dbc..3e3b6eb6a 100644 --- a/src/dirname.c +++ b/src/dirname.c @@ -1,5 +1,5 @@ /* dirname -- strip filename suffix from pathname - Copyright (C) 1990-1997, 1999-2002 Free Software Foundation, Inc. + Copyright (C) 1990-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 @@ -37,7 +37,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 |