]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-timed.c
CMake: Fix the comment about versions. [skip ci]
[tcpdump] / print-timed.c
index 0e4c48e7cb9d171dce11e57843ac65b9659a8b0e..6733ef1beef392a7fdfb0a2b71f214361512ac0e 100644 (file)
@@ -23,9 +23,7 @@
 
 /* specification: https://docs.freebsd.org/44doc/smm/12.timed/paper.pdf */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
@@ -149,5 +147,5 @@ timed_print(netdissect_options *ndo,
                break;
        }
        ND_PRINT(" name ");
-       (void)nd_printzp(ndo, tsp->tsp_name, sizeof(tsp->tsp_name), NULL);
+       nd_printjnp(ndo, tsp->tsp_name, sizeof(tsp->tsp_name));
 }