git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Use rk_rename from roken
[openafs.git]
/
src
/
audit
/
audit-file.c
diff --git
a/src/audit/audit-file.c
b/src/audit/audit-file.c
index
3c3c8d2
..
0ccf447
100644
(file)
--- a/
src/audit/audit-file.c
+++ b/
src/audit/audit-file.c
@@
-52,7
+52,7
@@
open_file(const char *fileName)
{
strcpy(oldName, fileName);
strcat(oldName, ".old");
- renamefile(fileName, oldName);
+ rk_rename(fileName, oldName);
flags = O_WRONLY | O_TRUNC | O_CREAT;
}
tempfd = open(fileName, flags, 0666);