Skip to content
Snippets Groups Projects
Commit 07503ac3 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Address Coverity-reported printf format issue

CID 351997 and 351998
parent 1080ab0d
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2989 passed
......@@ -1393,7 +1393,7 @@ void sys_cfg(void)
strcpy(str,"None");
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))
,cfg.max_logs_kept);
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment