summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stat.c b/src/stat.c
index 98d2d08a4..b4f7040be 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -687,7 +687,7 @@ do_stat (char const *filename, int follow_links, int terse,
void
usage (int status)
{
- if (status != 0)
+ if (status != EXIT_SUCCESS)
fprintf (stderr, _("Try `%s --help' for more information.\n"),
program_name);
else