]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(usage): Use EXIT_SUCCESS, not 0, for clarity.
authorJim Meyering <jim@meyering.net>
Wed, 21 Jan 2004 23:15:07 +0000 (23:15 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 21 Jan 2004 23:15:07 +0000 (23:15 +0000)
src/kill.c
src/link.c

index 7f3ecb14b6826f9010ccf274def063997c7ae1b3..9798455b96cec14afd97dad73c7dfb8a181c4d20 100644 (file)
@@ -1,5 +1,5 @@
 /* kill -- send a signal to a process
-   Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003, 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
@@ -86,7 +86,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
index 41d4a71225c89170416a368f184e483d2395ed10..9d46280261b4e1fea424a3ce19ec5e2c7cf8e55a 100644 (file)
@@ -1,5 +1,5 @@
 /* link utility for GNU.
-   Copyright (C) 2001-2002 Free Software Foundation, Inc.
+   Copyright (C) 2001, 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
@@ -43,7 +43,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