From 77fa6d308c2e718d0d386a85e125fdcb7bc07b76 Mon Sep 17 00:00:00 2001 From: gj Date: Sat, 26 Jul 2003 21:58:06 +0000 Subject: Use M_WAITOK instead of M_WAIT in sppp_attach(). --- sys/net/if_spppsubr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/net/if_spppsubr.c') diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index 3b20e58..c21d922 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -997,7 +997,7 @@ sppp_attach(struct ifnet *ifp) #ifdef INET6 sp->confflags |= CONF_ENABLE_IPV6; #endif - sp->pp_comp = malloc(sizeof(struct slcompress), M_TEMP, M_WAIT); + sp->pp_comp = malloc(sizeof(struct slcompress), M_TEMP, M_WAITOK); sl_compress_init(sp->pp_comp, -1); sppp_lcp_init(sp); sppp_ipcp_init(sp); -- cgit v1.1