aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lib.c')
-rw-r--r--lib/lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib.c b/lib/lib.c
index 11acba0d..ad85dc63 100644
--- a/lib/lib.c
+++ b/lib/lib.c
@@ -747,7 +747,7 @@ void replace_tempfile(int fdin, int fdout, char **tempname)
xclose(fdin);
}
xclose(fdout);
- rename(*tempname, temp);
+ xrename(*tempname, temp);
tempfile2zap = (char *)1;
free(*tempname);
free(temp);