summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-01-21 23:44:47 +0000
committerJim Meyering <jim@meyering.net>2004-01-21 23:44:47 +0000
commiteb5ac5fa4a1598cca12f5eb8ca58e9e9759d9b61 (patch)
tree6a4c2235785a1d22fa4384c82e7378a6f86d11e8
parent6618936d9d87a8c0fc49effcd32af07db902a44b (diff)
downloadcoreutils-eb5ac5fa4a1598cca12f5eb8ca58e9e9759d9b61.tar.xz
(usage): Use EXIT_SUCCESS, not 0, for clarity.
-rw-r--r--src/sleep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sleep.c b/src/sleep.c
index 0565c9768..7027ab9fc 100644
--- a/src/sleep.c
+++ b/src/sleep.c
@@ -1,5 +1,5 @@
/* sleep - delay for a specified amount of time.
- Copyright (C) 84, 1991-1997, 1999-2003 Free Software Foundation, Inc.
+ Copyright (C) 84, 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
@@ -44,7 +44,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