Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/stand/lib/netif Make this compile with NETIF_D...
details: https://anonhg.NetBSD.org/src/rev/b93aab6358db
branches: trunk
changeset: 533119:b93aab6358db
user: gmcgarry <gmcgarry%NetBSD.org@localhost>
date: Fri Jun 21 23:18:45 2002 +0000
description:
Make this compile with NETIF_DEBUG.
diffstat:
sys/arch/i386/stand/lib/netif/netif_small.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 1d87f4a27203 -r b93aab6358db sys/arch/i386/stand/lib/netif/netif_small.c
--- a/sys/arch/i386/stand/lib/netif/netif_small.c Fri Jun 21 23:15:35 2002 +0000
+++ b/sys/arch/i386/stand/lib/netif/netif_small.c Fri Jun 21 23:18:45 2002 +0000
@@ -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 @@
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 @@
#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
Home |
Main Index |
Thread Index |
Old Index