summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/who.c4
-rw-r--r--src/whoami.c6
-rw-r--r--src/yes.c4
3 files changed, 8 insertions, 6 deletions
diff --git a/src/who.c b/src/who.c
index 46cb71c9e..fa3e21104 100644
--- a/src/who.c
+++ b/src/who.c
@@ -1,5 +1,5 @@
/* GNU's who.
- Copyright (C) 1992-2003 Free Software Foundation, Inc.
+ Copyright (C) 1992-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
@@ -612,7 +612,7 @@ who (const char *filename)
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/whoami.c b/src/whoami.c
index 8b4318d4e..f666a677a 100644
--- a/src/whoami.c
+++ b/src/whoami.c
@@ -1,5 +1,7 @@
/* whoami -- print effective userid
- Copyright (C) 89,90, 1991-1997, 1999-2002 Free Software Foundation, Inc.
+
+ Copyright (C) 89,90, 1991-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
@@ -43,7 +45,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/yes.c b/src/yes.c
index e58d63fba..f6f26e5a6 100644
--- a/src/yes.c
+++ b/src/yes.c
@@ -1,5 +1,5 @@
/* yes - output a string repeatedly until killed
- Copyright (C) 1991-1997, 1999-2003 Free Software Foundation, Inc.
+ Copyright (C) 1991-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
@@ -38,7 +38,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