diff options
author | Jim Meyering <jim@meyering.net> | 1996-03-24 16:59:11 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-03-24 16:59:11 +0000 |
commit | 818d29db9bee7b3a87d677bb4bdd520b30924fad (patch) | |
tree | 4994682f8e7be50460c142ee85321f4e5f3a29e6 /src/cut.c | |
parent | 47f70113d4342682a6408f85337676f1ccb7e8fe (diff) | |
download | coreutils-818d29db9bee7b3a87d677bb4bdd520b30924fad.tar.xz |
Call error with EXIT_FAILURE (rather than `1') as first actual parameter.
Diffstat (limited to 'src/cut.c')
-rw-r--r-- | src/cut.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -768,7 +768,7 @@ main (int argc, char **argv) exit_status = 1; } if (ferror (stdout) || fclose (stdout) == EOF) - error (1, errno, _("write error")); + error (EXIT_FAILURE, errno, _("write error")); exit (exit_status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } |