diff options
author | Jim Meyering <jim@meyering.net> | 2004-01-21 23:15:07 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-01-21 23:15:07 +0000 |
commit | 2519274f5200a6c41aa27aeda910aab0d5b5ac47 (patch) | |
tree | 90cf6a652418844e1e8acb5a782836463996152f /src | |
parent | f56bc12872aa4ac8a9dca4f2d5a2c48956f4191c (diff) | |
download | coreutils-2519274f5200a6c41aa27aeda910aab0d5b5ac47.tar.xz |
(usage): Use EXIT_SUCCESS, not 0, for clarity.
Diffstat (limited to 'src')
-rw-r--r-- | src/kill.c | 4 | ||||
-rw-r--r-- | src/link.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/kill.c b/src/kill.c index 7f3ecb14b..9798455b9 100644 --- a/src/kill.c +++ b/src/kill.c @@ -1,5 +1,5 @@ /* kill -- send a signal to a process - Copyright (C) 2002, 2003 Free Software Foundation, Inc. + Copyright (C) 2002, 2003, 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 @@ -86,7 +86,7 @@ static struct option const long_options[] = void usage (int status) { - if (status != 0) + if (status != EXIT_SUCCESS) fprintf (stderr, _("Try `%s --help' for more information.\n"), program_name); else diff --git a/src/link.c b/src/link.c index 41d4a7122..9d4628026 100644 --- a/src/link.c +++ b/src/link.c @@ -1,5 +1,5 @@ /* link utility for GNU. - Copyright (C) 2001-2002 Free Software Foundation, Inc. + Copyright (C) 2001, 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 @@ -43,7 +43,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 |