1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-03-14 00:44:20 +02:00

(usage): Use EXIT_SUCCESS, not 0, for clarity.

This commit is contained in:
Jim Meyering
2004-01-21 23:16:01 +00:00
parent 224f641c02
commit 0c3d855eae

View File

@@ -1,5 +1,5 @@
/* logname -- print user's login name
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
@@ -40,7 +40,7 @@ static struct option const long_options[] =
void
usage (int status)
{
if (status != 0)
if (status != EXIT_SUCCESS)
fprintf (stderr, _("Try `%s --help' for more information.\n"),
program_name);
else