summaryrefslogtreecommitdiff
path: root/src/pwd.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-01-21 23:38:45 +0000
committerJim Meyering <jim@meyering.net>2004-01-21 23:38:45 +0000
commit3e397c67aa91c271f955482b6e1d2ef2202a22d8 (patch)
treec5c1744063be531a68038b0cd98d0aeaab993018 /src/pwd.c
parentf1c86ce43307548a4f2d8fc7c15d366d191b70ed (diff)
downloadcoreutils-3e397c67aa91c271f955482b6e1d2ef2202a22d8.tar.xz
(usage): Use EXIT_SUCCESS, not 0, for clarity.
Diffstat (limited to 'src/pwd.c')
-rw-r--r--src/pwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pwd.c b/src/pwd.c
index 596473449..8c0fd08d0 100644
--- a/src/pwd.c
+++ b/src/pwd.c
@@ -1,5 +1,5 @@
/* pwd - print current directory
- Copyright (C) 1994-1997, 1999-2003 Free Software Foundation, Inc.
+ Copyright (C) 1994-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
@@ -37,7 +37,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