Remove unbalanced ( from failure to move log error
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
This commit is contained in:
parent
138d4c1670
commit
837bd2bbc0
2
os/log.c
2
os/log.c
|
@ -187,7 +187,7 @@ LogInit(const char *fname, const char *backup)
|
||||||
sprintf(oldLog, "%s%s", logFileName, suffix);
|
sprintf(oldLog, "%s%s", logFileName, suffix);
|
||||||
free(suffix);
|
free(suffix);
|
||||||
if (rename(logFileName, oldLog) == -1) {
|
if (rename(logFileName, oldLog) == -1) {
|
||||||
FatalError("Cannot move old log file (\"%s\" to \"%s\"\n",
|
FatalError("Cannot move old log file \"%s\" to \"%s\"\n",
|
||||||
logFileName, oldLog);
|
logFileName, oldLog);
|
||||||
}
|
}
|
||||||
free(oldLog);
|
free(oldLog);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user