Commit 07503ac3 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Address Coverity-reported printf format issue

CID 351997 and 351998
parent 1080ab0d
Pipeline #2989 passed with stage
in 10 minutes and 17 seconds
......@@ -1393,7 +1393,7 @@ void sys_cfg(void)
sprintf(opt[i++],"%-27.27s%s","Mail Database Backups",str);
if(cfg.max_log_size && cfg.max_logs_kept) {
SAFEPRINTF2(str, "%s bytes, keep %lu"
SAFEPRINTF2(str, "%s bytes, keep %hu"
,byte_count_to_str(cfg.max_log_size, tmp, sizeof(tmp))
} else {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment