diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index 8eec64a17330..b9c6d30a99a9 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -1,4 +1,4 @@ -/* $NetBSD: in_pcb.c,v 1.29 1996/07/10 18:13:35 cgd Exp $ */ +/* $NetBSD: in_pcb.c,v 1.30 1996/08/14 03:46:48 thorpej Exp $ */ /* * Copyright (c) 1982, 1986, 1991, 1993 @@ -586,7 +586,7 @@ in_pcbhashlookup(table, faddr, fport_arg, laddr, lport_arg) } #ifdef DIAGNOSTIC if (inp == NULL && in_pcbnotifymiss) { - printf("in_pcbhashlookup: faddr=%08lx fport=%d laddr=%08lx lport=%d\n", + printf("in_pcbhashlookup: faddr=%08x fport=%d laddr=%08x lport=%d\n", ntohl(faddr.s_addr), ntohs(fport), ntohl(laddr.s_addr), ntohs(lport)); } diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 338c70d7bedb..f0a3dbcd26c2 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -1,4 +1,4 @@ -/* $NetBSD: ip_input.c,v 1.31 1996/07/10 18:13:39 cgd Exp $ */ +/* $NetBSD: ip_input.c,v 1.32 1996/08/14 03:46:44 thorpej Exp $ */ /* * Copyright (c) 1982, 1986, 1988, 1993 @@ -914,7 +914,7 @@ ip_srcroute() *(mtod(m, struct in_addr *)) = *p--; #ifdef DIAGNOSTIC if (ipprintfs) - printf(" hops %lx", ntohl(mtod(m, struct in_addr *)->s_addr)); + printf(" hops %x", ntohl(mtod(m, struct in_addr *)->s_addr)); #endif /* @@ -934,7 +934,7 @@ ip_srcroute() while (p >= ip_srcrt.route) { #ifdef DIAGNOSTIC if (ipprintfs) - printf(" %lx", ntohl(q->s_addr)); + printf(" %x", ntohl(q->s_addr)); #endif *q++ = *p--; } @@ -944,7 +944,7 @@ ip_srcroute() *q = ip_srcrt.dst; #ifdef DIAGNOSTIC if (ipprintfs) - printf(" %lx\n", ntohl(q->s_addr)); + printf(" %x\n", ntohl(q->s_addr)); #endif return (m); }