X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/513f782ae18791f0c925b9235da749b38159b607..f34af1aa63da301ae7ee91e2300dff31702001f0:/netdissect.c diff --git a/netdissect.c b/netdissect.c index 7360d8dc..d32de4e9 100644 --- a/netdissect.c +++ b/netdissect.c @@ -23,7 +23,7 @@ */ #ifdef HAVE_CONFIG_H -#include "config.h" +#include #endif #include "netdissect-stdinc.h" @@ -122,14 +122,14 @@ nd_load_smi_module(const char *module, char *errbuf, size_t errbuf_size) { #ifdef USE_LIBSMI if (smiLoadModule(module) == 0) { - snprintf(errbuf, errbuf_size, "could not load MIB module %s", + nd_snprintf(errbuf, errbuf_size, "could not load MIB module %s", module); return (-1); } nd_smi_module_loaded = 1; return (0); #else - snprintf(errbuf, errbuf_size, "MIB module %s not loaded: no libsmi support", + nd_snprintf(errbuf, errbuf_size, "MIB module %s not loaded: no libsmi support", module); return (-1); #endif