summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/mac/if_gm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/powerpc/mac/if_gm.c')
-rw-r--r--sys/arch/powerpc/mac/if_gm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/powerpc/mac/if_gm.c b/sys/arch/powerpc/mac/if_gm.c
index e9d6ea5dd11..33395a8956b 100644
--- a/sys/arch/powerpc/mac/if_gm.c
+++ b/sys/arch/powerpc/mac/if_gm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_gm.c,v 1.16 2001/07/09 03:30:20 mickey Exp $ */
+/* $OpenBSD: if_gm.c,v 1.17 2001/07/10 02:16:11 fgsch Exp $ */
/* $NetBSD: if_gm.c,v 1.2 2000/03/04 11:17:00 tsubai Exp $ */
/*-
@@ -501,8 +501,7 @@ gmac_rint(sc)
bpf_tap(ifp->if_bpf, sc->sc_rxbuf[i], len);
#endif
#ifdef __OpenBSD__
- m_adj(m, sizeof(struct ether_header));
- ether_input(ifp,(void*) sc->sc_rxbuf[i], m);
+ ether_input_mbuf(ifp, m);
#else /* !__OpenBSD__ */
(*ifp->if_input)(ifp, m);
#endif /* !__OpenBSD__ */