Fix this cppcheck warning:
rpcapd/daemon.c:2349:3: warning: %u in format string (no. 1) requires
'unsigned int' but the argument type is 'signed int'.
[invalidPrintfArgType_uint]
snprintf(errmsgbuf, PCAP_ERRBUF_SIZE,
^
(cherry picked from commit
8d6bef98827b9d02198ade6fd94d9f42ed302889)
if (bf_prog.bf_len > RPCAP_BPF_MAXINSNS)
{
snprintf(errmsgbuf, PCAP_ERRBUF_SIZE,
- "Filter program is larger than the maximum size of %u instructions",
+ "Filter program is larger than the maximum size of %d instructions",
RPCAP_BPF_MAXINSNS);
return -2;
}