X-Git-Url: https://git.tcpdump.org/libpcap/blobdiff_plain/fddbd52f06d4d5ac31e8537b37ce4cbb25e04f7e..09b51d326c38ea8e10ce4da09c09d50e08c5aeb8:/rpcapd/log.c diff --git a/rpcapd/log.c b/rpcapd/log.c index 7b5fee57..f26c145e 100644 --- a/rpcapd/log.c +++ b/rpcapd/log.c @@ -229,7 +229,7 @@ static void rpcapd_vlog_systemlog(log_priority priority, const char *message, */ char logbuf[1024+1]; - pcap_vsnprintf(logbuf, sizeof logbuf, message, ap); + vsnprintf(logbuf, sizeof logbuf, message, ap); syslog(syslog_priority, "%s", logbuf); #endif }