summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-01-21 23:38:15 +0000
committerJim Meyering <jim@meyering.net>2004-01-21 23:38:15 +0000
commitf1c86ce43307548a4f2d8fc7c15d366d191b70ed (patch)
tree0e5f5fb665fd0b2af9ff0c3bd7e73a04472c0cdb /src
parentc979cdc1e32dd94a8da76168ad82acfc61be9273 (diff)
downloadcoreutils-f1c86ce43307548a4f2d8fc7c15d366d191b70ed.tar.xz
(usage): Use EXIT_SUCCESS, not 0, for clarity.
Diffstat (limited to 'src')
-rw-r--r--src/pathchk.c4
-rw-r--r--src/pinky.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/pathchk.c b/src/pathchk.c
index 40178cc4c..024240c36 100644
--- a/src/pathchk.c
+++ b/src/pathchk.c
@@ -1,5 +1,5 @@
/* pathchk -- check whether pathnames are valid or portable
- Copyright (C) 1991-2003 Free Software Foundation, Inc.
+ Copyright (C) 1991-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
@@ -132,7 +132,7 @@ pathconf_wrapper (const char *filename, int param)
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/pinky.c b/src/pinky.c
index 37ad56dfc..485f325ac 100644
--- a/src/pinky.c
+++ b/src/pinky.c
@@ -1,5 +1,5 @@
/* GNU's pinky.
- Copyright (C) 1992-1997, 1999-2003 Free Software Foundation, Inc.
+ Copyright (C) 1992-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
@@ -460,7 +460,7 @@ long_pinky (const int argc_names, char *const argv_names[])
void
usage (int status)
{
- if (status != 0)
+ if (status != EXIT_SUCCESS)
fprintf (stderr, _("Try `%s --help' for more information.\n"),
program_name);
else