aboutsummaryrefslogtreecommitdiffstats
path: root/src/echo.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-01-21 22:56:47 +0000
committerJim Meyering <jim@meyering.net>2004-01-21 22:56:47 +0000
commit02e20fbfea39810a380d2a1c94129c0fcb050d37 (patch)
treee0befb776c83634ea7d13dd771fbd96d988eed43 /src/echo.c
parent(usage): Use EXIT_SUCCESS, not 0, for clarity. (diff)
downloadcoreutils-02e20fbfea39810a380d2a1c94129c0fcb050d37.tar.gz
coreutils-02e20fbfea39810a380d2a1c94129c0fcb050d37.zip
(usage): Use EXIT_SUCCESS, not 0, for clarity.
Diffstat (limited to 'src/echo.c')
-rw-r--r--src/echo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/echo.c b/src/echo.c
index bd79cc96c..d9ae62032 100644
--- a/src/echo.c
+++ b/src/echo.c
@@ -1,5 +1,5 @@
/* echo.c, derived from code echo.c in Bash.
- Copyright (C) 87,89, 1991-1997, 1999-2003 Free Software Foundation, Inc.
+ Copyright (C) 87,89, 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
@@ -68,7 +68,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