From: Jim Meyering Date: Wed, 21 Jan 2004 22:42:34 +0000 (+0000) Subject: (usage): Use EXIT_SUCCESS, not 0, for clarity. X-Git-Tag: COREUTILS-5_1_2~96 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e77a63940a02531ecb7d906ff7bafa1b6042876d;p=platform%2Fupstream%2Fcoreutils.git (usage): Use EXIT_SUCCESS, not 0, for clarity. --- diff --git a/src/basename.c b/src/basename.c index 2bf1630..df6d337 100644 --- a/src/basename.c +++ b/src/basename.c @@ -1,5 +1,5 @@ /* basename -- strip directory and suffix from filenames - Copyright (C) 1990-1997, 1999-2003 Free Software Foundation, Inc. + Copyright (C) 1990-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 @@ -45,7 +45,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