diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-07-02 16:19:28 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-07-02 16:46:59 -0700 |
commit | f3bd32bae2c902b9dbbe241884feaf2f0a4df7fa (patch) | |
tree | c36373203c13b96761346decffc06528c09e7cb0 /src | |
parent | 59daf05b75f1898ff435ff13983da8d20d4436aa (diff) | |
download | coreutils-f3bd32bae2c902b9dbbe241884feaf2f0a4df7fa.tar.xz |
sort: fix exit-status typo
* src/sort.c (stream_open): EXIT_FAILURE -> SORT_FAILURE.
Suggested by Pádraig Brady in <http://bugs.gnu.org/11816#34>.
Diffstat (limited to 'src')
-rw-r--r-- | src/sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sort.c b/src/sort.c index f0d32c3ff..10103e962 100644 --- a/src/sort.c +++ b/src/sort.c @@ -927,7 +927,7 @@ stream_open (char const *file, char const *how) else if (*how == 'w') { if (file && ftruncate (STDOUT_FILENO, 0) != 0) - error (EXIT_FAILURE, errno, _("%s: error truncating"), + error (SORT_FAILURE, errno, _("%s: error truncating"), quote (file)); fp = stdout; } |