]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-zephyr.c
Always define check_and_add_compiler_option().
[tcpdump] / print-zephyr.c
index bce7394b26ef0eb18e28306ae4b5a2be558b2d92..10aaf2166ce99aaa269bfcaee187096775c44c4c 100644 (file)
@@ -119,7 +119,7 @@ z_triple(const char *class, const char *inst, const char *recipient)
 {
     if (!*recipient)
        recipient = "*";
-    nd_snprintf(z_buf, sizeof(z_buf), "<%s,%s,%s>", class, inst, recipient);
+    snprintf(z_buf, sizeof(z_buf), "<%s,%s,%s>", class, inst, recipient);
     z_buf[sizeof(z_buf)-1] = '\0';
     return z_buf;
 }
@@ -134,7 +134,7 @@ str_to_lower(const char *string)
 
     zb_string = z_buf;
     while (*zb_string) {
-       *zb_string = tolower((unsigned char)(*zb_string));
+       *zb_string = ND_TOLOWER((unsigned char)(*zb_string));
        zb_string++;
     }