X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/db7a7633e65ea66dacb40450d375c00d3f305408..dcae3b01d76f9a040f2a6e3d2c861c25c2d60a73:/netdissect.c diff --git a/netdissect.c b/netdissect.c index 4d4a4a59..7e46d6aa 100644 --- a/netdissect.c +++ b/netdissect.c @@ -123,14 +123,14 @@ nd_load_smi_module(const char *module, char *errbuf, size_t errbuf_size) { #ifdef USE_LIBSMI if (smiLoadModule(module) == 0) { - nd_snprintf(errbuf, errbuf_size, "could not load MIB module %s", + snprintf(errbuf, errbuf_size, "could not load MIB module %s", module); return (-1); } nd_smi_module_loaded = 1; return (0); #else - nd_snprintf(errbuf, errbuf_size, "MIB module %s not loaded: no libsmi support", + snprintf(errbuf, errbuf_size, "MIB module %s not loaded: no libsmi support", module); return (-1); #endif