summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r--source3/lib/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 750ca0f3ab..2bd7636fb0 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -234,7 +234,7 @@ static void check_log_size(void)
pstring name;
fclose(dbf); dbf = NULL;
slprintf(name,sizeof(name)-1,"%s.old",debugf);
- sys_rename(debugf,name);
+ rename(debugf,name);
reopen_logs();
}
}