diff options
author | Jim Meyering <jim@meyering.net> | 1999-03-07 04:52:49 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-03-07 04:52:49 +0000 |
commit | c771f143db93805f89109006d908771ced2a632a (patch) | |
tree | a248c081c64bc60a5cead9b5a9ce5c9895f308da /src/sort.c | |
parent | 76b939909181528ba3eabada373a7b9dcf397b82 (diff) | |
download | coreutils-c771f143db93805f89109006d908771ced2a632a.tar.xz |
(main): Use a `%s' format in error call,
in case the argument string contains a `%'.
Diffstat (limited to 'src/sort.c')
-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 69a4332a4..ee0514b76 100644 --- a/src/sort.c +++ b/src/sort.c @@ -2961,7 +2961,7 @@ but lacks following character offset")); error (SORT_FAILURE, errno, _("%s: write error"), outfile); if (have_read_stdin && fclose (stdin) == EOF) - error (SORT_FAILURE, errno, outfile); + error (SORT_FAILURE, errno, "%s", outfile); if (ferror (stdout) || fclose (stdout) == EOF) error (SORT_FAILURE, errno, _("%s: write error"), outfile); |