1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-06 00:29:44 +02:00

Change exit (0)' to exit (EXIT_SUCCESS)',

`exit (1)' to `exit (EXIT_FAILURE)', and
`usage (1)' to `usage (EXIT_FAILURE)'.
This commit is contained in:
Jim Meyering
2002-08-31 08:52:10 +00:00
parent 7488703199
commit 4006f4e672
69 changed files with 201 additions and 201 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
/* printf - format and print data
Copyright (C) 1990-2001, Free Software Foundation, Inc.
Copyright (C) 1990-2002, 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
@@ -206,7 +206,7 @@ print_esc_char (int c)
putchar (8);
break;
case 'c': /* Cancel the rest of the output. */
exit (0);
exit (EXIT_SUCCESS);
break;
case 'f': /* Form feed. */
putchar (12);
@@ -548,7 +548,7 @@ main (int argc, char **argv)
if (argc == 1)
{
fprintf (stderr, _("Usage: %s format [argument...]\n"), program_name);
exit (1);
exit (EXIT_FAILURE);
}
format = argv[1];