diff options
-rw-r--r-- | usr.sbin/IPXrouted/trace.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/IPXrouted/trace.c b/usr.sbin/IPXrouted/trace.c index f1f86fa..d9e74b8 100644 --- a/usr.sbin/IPXrouted/trace.c +++ b/usr.sbin/IPXrouted/trace.c @@ -363,8 +363,8 @@ dumppacket(fd, dir, source, cp, size) fprintf(fd, "Bad cmd 0x%x %s %s#%x\n", ntohs(msg->rip_cmd), dir, ipxdp_ntoa(&who->sipx_addr), ntohs(who->sipx_addr.x_port)); - fprintf(fd, "size=%d cp=%lx packet=%x\n", size, - (u_long)cp, (u_int)packet); + fprintf(fd, "size=%d cp=%p packet=%p\n", size, + cp, packet); return; } switch (ntohs(msg->rip_cmd)) { @@ -407,8 +407,8 @@ dumpsappacket(fd, dir, source, cp, size) fprintf(fd, "Bad cmd 0x%x %s %s#%x\n", ntohs(msg->sap_cmd), dir, ipxdp_ntoa(&who->sipx_addr), ntohs(who->sipx_addr.x_port)); - fprintf(fd, "size=%d cp=%lx packet=%x\n", size, - (u_long)cp, (u_int)packet); + fprintf(fd, "size=%d cp=%p packet=%p\n", size, + cp, packet); return; } switch (ntohs(msg->sap_cmd)) { |