mirror of
https://github.com/troglobit/finit.git
synced 2026-11-03 13:28:27 +00:00
Simplify error message, same style as other log messages in module
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
19f5cb1d01
commit
5a32fdb309
1 file changed
+1
-2
+1
-2
@@ -97,8 +97,7 @@ int logrotate(char *file, int num, off_t sz)
|
|||||||
} else {
|
} else {
|
||||||
fallback:
|
fallback:
|
||||||
if (truncate(file, 0))
|
if (truncate(file, 0))
|
||||||
syslog(LOG_ERR, "Failed truncating %s during logrotate: %s",
|
syslog(LOG_ERR, "Failed truncating %s: %s", file, strerror(errno));
|
||||||
file, strerror(errno));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user