summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-01-21 23:08:09 +0000
committerJim Meyering <jim@meyering.net>2004-01-21 23:08:09 +0000
commit3a34661eb0d0ad9be3cb2a79006199a412049f6d (patch)
treea964803f79be9a87b5a909b1d4bd4ac8d2d62ecf /src
parenta9f7720ec980316e700e185d0f1059ba3457f0a8 (diff)
downloadcoreutils-3a34661eb0d0ad9be3cb2a79006199a412049f6d.tar.xz
(usage): Use EXIT_SUCCESS, not 0, for clarity.
Diffstat (limited to 'src')
-rw-r--r--src/hostid.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/hostid.c b/src/hostid.c
index 1f10480a3..095b75891 100644
--- a/src/hostid.c
+++ b/src/hostid.c
@@ -1,5 +1,7 @@
/* print the hexadecimal identifier for the current host
- Copyright (C) 1997, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+
+ Copyright (C) 1997, 1999, 2000, 2001, 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
@@ -36,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