summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-10-26 13:20:25 +0000
committerJim Meyering <jim@meyering.net>1995-10-26 13:20:25 +0000
commitb9485b8d524faf4cc22bc44901464f13e79536ea (patch)
tree0040c1120b9b6f0d66b49e265d8142a4861c1f2e /src
parent66b9285a6ff9f8df03c1d757742eb00cfc717b38 (diff)
downloadcoreutils-b9485b8d524faf4cc22bc44901464f13e79536ea.tar.xz
(main): Use xfopen, not xtmpopen to open final output file.
Diffstat (limited to 'src')
-rw-r--r--src/sort.c2
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;