From cf874b345d0f766fb64cf4737e1c85ccc78d2bee Mon Sep 17 00:00:00 2001 From: imp Date: Wed, 19 Feb 2003 05:47:46 +0000 Subject: Back out M_* changes, per decision of the TRB. Approved by: trb --- sys/dev/iicbus/if_ic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/iicbus') diff --git a/sys/dev/iicbus/if_ic.c b/sys/dev/iicbus/if_ic.c index 84d7b2f..a6660b7 100644 --- a/sys/dev/iicbus/if_ic.c +++ b/sys/dev/iicbus/if_ic.c @@ -192,14 +192,14 @@ icioctl(struct ifnet *ifp, u_long cmd, caddr_t data) return (error); sc->ic_obuf = malloc(sc->ic_if.if_mtu + ICHDRLEN, - M_DEVBUF, 0); + M_DEVBUF, M_WAITOK); if (!sc->ic_obuf) { iicbus_release_bus(parent, icdev); return ENOBUFS; } sc->ic_ifbuf = malloc(sc->ic_if.if_mtu + ICHDRLEN, - M_DEVBUF, 0); + M_DEVBUF, M_WAITOK); if (!sc->ic_ifbuf) { iicbus_release_bus(parent, icdev); return ENOBUFS; -- cgit v1.1