diff options
author | hsu <hsu@FreeBSD.org> | 2003-07-14 20:39:22 +0000 |
---|---|---|
committer | hsu <hsu@FreeBSD.org> | 2003-07-14 20:39:22 +0000 |
commit | ae22e1e030f67d91165ee7d4f672fa592cb2220e (patch) | |
tree | a1eb3b8487d8294cfaedeb187013281433515ff9 | |
parent | 94aa2862087716c9dad8d0cf9857f812f6ba4398 (diff) | |
download | FreeBSD-src-ae22e1e030f67d91165ee7d4f672fa592cb2220e.zip FreeBSD-src-ae22e1e030f67d91165ee7d4f672fa592cb2220e.tar.gz |
Rev 1.121 meant to pass the value 1 to soalloc() to indicate waitok.
Reported by: arr
-rw-r--r-- | sys/kern/uipc_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c index 1d79246..f1376f3 100644 --- a/sys/kern/uipc_socket.c +++ b/sys/kern/uipc_socket.c @@ -195,7 +195,7 @@ socreate(dom, aso, type, proto, cred, td) if (prp->pr_type != type) return (EPROTOTYPE); - so = soalloc(M_NOWAIT); + so = soalloc(1); if (so == NULL) return (ENOBUFS); |