mirror of
https://github.com/troglobit/finit.git
synced 2026-10-21 11:29:42 +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 {
|
||||
fallback:
|
||||
if (truncate(file, 0))
|
||||
syslog(LOG_ERR, "Failed truncating %s during logrotate: %s",
|
||||
file, strerror(errno));
|
||||
syslog(LOG_ERR, "Failed truncating %s: %s", file, strerror(errno));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user