From 02ca40e27f7ff92ef9a4075d457cf8c52ae10e4d Mon Sep 17 00:00:00 2001 From: gmcgarry Date: Fri, 21 Jun 2002 23:18:45 +0000 Subject: [PATCH] Make this compile with NETIF_DEBUG. --- sys/arch/i386/stand/lib/netif/netif_small.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/i386/stand/lib/netif/netif_small.c b/sys/arch/i386/stand/lib/netif/netif_small.c index ec734b7a4ed7..f6c50264ab37 100644 --- a/sys/arch/i386/stand/lib/netif/netif_small.c +++ b/sys/arch/i386/stand/lib/netif/netif_small.c @@ -1,4 +1,4 @@ -/* $NetBSD: netif_small.c,v 1.6 2001/07/07 22:57:58 perry Exp $ */ +/* $NetBSD: netif_small.c,v 1.7 2002/06/21 23:18:45 gmcgarry Exp $ */ /* minimal netif - for boot ROMs we don't have to select between several interfaces, and we have to save space @@ -130,7 +130,7 @@ netif_put(desc, pkt, len) if (netif_debug) { struct ether_header *eh; - printf("netif_put: desc=0x%x pkt=0x%x len=%d\n", + printf("netif_put: desc=%p pkt=%p len=%d\n", desc, pkt, len); eh = pkt; printf("dst: %s ", ether_sprintf(eh->ether_dhost)); @@ -157,7 +157,7 @@ netif_get(desc, pkt, maxlen, timo) #ifdef NETIF_DEBUG if (netif_debug) - printf("netif_get: pkt=0x%x, maxlen=%d, tmo=%d\n", + printf("netif_get: pkt=%p, maxlen=%d, tmo=%ld\n", pkt, maxlen, timo); #endif