]> The Tcpdump Group git mirrors - tcpdump/blobdiff - netdissect.c
Compile with '-Wsign-compare' in devel mode if supported
[tcpdump] / netdissect.c
index 450bb1a25b973847e7726638b95d6b46dffbc19d..d32de4e97816f8f96acab65397345fe099f7204b 100644 (file)
@@ -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