summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-01-21 22:44:43 +0000
committerJim Meyering <jim@meyering.net>2004-01-21 22:44:43 +0000
commitc5a68e8782736c145c7356e85a3d410e228d6cf7 (patch)
treebc68755a2b196bd66a01c16e7995af71d3edb729
parent1fcd62671b5cf5c9a28855a257201131ab84d393 (diff)
downloadcoreutils-c5a68e8782736c145c7356e85a3d410e228d6cf7.tar.xz
(usage): Use EXIT_SUCCESS, not 0, for clarity.
-rw-r--r--src/chmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chmod.c b/src/chmod.c
index 8ebb226a5..d3650cf33 100644
--- a/src/chmod.c
+++ b/src/chmod.c
@@ -1,5 +1,5 @@
/* chmod -- change permission modes of files
- Copyright (C) 89, 90, 91, 1995-2003 Free Software Foundation, Inc.
+ Copyright (C) 89, 90, 91, 1995-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
@@ -262,7 +262,7 @@ process_files (char **files, int bit_flags, const struct mode_change *changes)
void
usage (int status)
{
- if (status != 0)
+ if (status != EXIT_SUCCESS)
fprintf (stderr, _("Try `%s --help' for more information.\n"),
program_name);
else