summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-01-21 22:42:34 +0000
committerJim Meyering <jim@meyering.net>2004-01-21 22:42:34 +0000
commite77a63940a02531ecb7d906ff7bafa1b6042876d (patch)
tree6928ebb8a362ebe94e6cd5dda617b45176075fda /src
parented246fdfc7aa7fc491ed6183dfb09e42a8c8496c (diff)
downloadcoreutils-e77a63940a02531ecb7d906ff7bafa1b6042876d.tar.xz
(usage): Use EXIT_SUCCESS, not 0, for clarity.
Diffstat (limited to 'src')
-rw-r--r--src/basename.c4
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