diff options
author | gj <gj@FreeBSD.org> | 2003-07-26 21:58:06 +0000 |
---|---|---|
committer | gj <gj@FreeBSD.org> | 2003-07-26 21:58:06 +0000 |
commit | 77fa6d308c2e718d0d386a85e125fdcb7bc07b76 (patch) | |
tree | 72eb2d192af7adb5c69c27ceea60beba27d2bf2a /sys | |
parent | d63c1dd2b8ad29c4418d3921da9c624fd1d64668 (diff) | |
download | FreeBSD-src-77fa6d308c2e718d0d386a85e125fdcb7bc07b76.zip FreeBSD-src-77fa6d308c2e718d0d386a85e125fdcb7bc07b76.tar.gz |
Use M_WAITOK instead of M_WAIT in sppp_attach().
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/if_spppsubr.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |