diff options
Diffstat (limited to 'editors/sed.c')
-rw-r--r-- | editors/sed.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editors/sed.c b/editors/sed.c index 4334182..e55bcaf 100644 --- a/editors/sed.c +++ b/editors/sed.c @@ -1340,8 +1340,7 @@ int sed_main(int argc, char **argv) G.nonstdout = stdout; /* unlink(argv[i]); */ - // FIXME: error check / message? - rename(G.outname, argv[i]); + xrename(G.outname, argv[i]); free(G.outname); G.outname = NULL; } |