svn commit: r214416 - projects/sv/sys/netinet

Attilio Rao attilio at FreeBSD.org
Wed Oct 27 13:16:48 UTC 2010


Author: attilio
Date: Wed Oct 27 13:16:48 2010
New Revision: 214416
URL: http://svn.freebsd.org/changeset/base/214416

Log:
  Remove PRI* macros usage.

Modified:
  projects/sv/sys/netinet/netdump_client.c

Modified: projects/sv/sys/netinet/netdump_client.c
==============================================================================
--- projects/sv/sys/netinet/netdump_client.c	Wed Oct 27 13:10:08 2010	(r214415)
+++ projects/sv/sys/netinet/netdump_client.c	Wed Oct 27 13:16:48 2010	(r214416)
@@ -69,7 +69,6 @@
 #include <netinet/udp.h>
 #include <netinet/udp_var.h>
 
-#include <machine/_inttypes.h>
 #include <machine/in_cksum.h>
 #include <machine/pcb.h>
 
@@ -1107,8 +1106,8 @@ netdump_dumper(void *priv, void *virtual
 
 	(void)priv;
 
-	NETDDEBUGV("netdump_dumper(%p, %p, %"PRIxPTR", %"PRIx64", %zu)\n",
-	    priv, virtual, physical, (uint64_t)offset, length);
+	NETDDEBUGV("netdump_dumper(%p, %p, 0x%jx, %ju, %zu)\n",
+	    priv, virtual, (uintmax_t)physical, (uintmax_t)offset, length);
 
 	if (length > sizeof(buf))
 		return ENOSPC;


More information about the svn-src-projects mailing list