diff options
-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 edae0f8ce..f6c4f07c2 100644 --- a/src/sort.c +++ b/src/sort.c @@ -1857,7 +1857,7 @@ main (int argc, char **argv) files[i] = tmp; } } - ofp = xtmpfopen (outfile); + ofp = xfopen (outfile, "w"); } else ofp = stdout; |