summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-01-21 23:21:31 +0000
committerJim Meyering <jim@meyering.net>2004-01-21 23:21:31 +0000
commit312d661adaa6830610c0ee3087aa50ac5c72d5b9 (patch)
treea20f600e44f1648bb7e6e71caac08310780dc677 /src
parent6673927ff076cb11d329b5e546aad4796a68953d (diff)
downloadcoreutils-312d661adaa6830610c0ee3087aa50ac5c72d5b9.tar.xz
(usage): Use EXIT_SUCCESS, not 0, for clarity.
Diffstat (limited to 'src')
-rw-r--r--src/mkdir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mkdir.c b/src/mkdir.c
index 3527e1073..d248962fb 100644
--- a/src/mkdir.c
+++ b/src/mkdir.c
@@ -1,5 +1,5 @@
/* mkdir -- make directories
- Copyright (C) 90, 1995-2002 Free Software Foundation, Inc.
+ Copyright (C) 90, 1995-2002, 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
@@ -53,7 +53,7 @@ static struct option const longopts[] =
void
usage (int status)
{
- if (status != 0)
+ if (status != EXIT_SUCCESS)
fprintf (stderr, _("Try `%s --help' for more information.\n"),
program_name);
else