mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2026-03-11 19:48:36 +01:00
Fix compiling error
This commit is contained in:
parent
f843f09a68
commit
164b97b937
1 changed files with 1 additions and 1 deletions
2
log.c
2
log.c
|
|
@ -226,7 +226,7 @@ xml_syslog:
|
|||
if (enable_log_syslog) {
|
||||
syslog(severity, "%s: %s", ((msgtype == XML_MSG_IN) ? "IN" : "OUT"), msg);
|
||||
if (sizeof(buf) < strlen(msg))
|
||||
syslog(severity, "Truncated message at %ld characters", strlen(msg));
|
||||
syslog(severity, "Truncated message at %zu characters", strlen(msg));
|
||||
}
|
||||
|
||||
pthread_mutex_unlock(&mutex_log);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue