diff options
author | phk <phk@FreeBSD.org> | 1994-09-28 19:55:10 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1994-09-28 19:55:10 +0000 |
commit | 59934affabaf5aeca78f89144f8a0453edb28cd7 (patch) | |
tree | ee73a9b53fe522d432a955026bc4ecaee4cc8476 /sys/kern | |
parent | ee374e924368a8ad1784b8e35054a5b3b807ba2f (diff) | |
download | FreeBSD-src-59934affabaf5aeca78f89144f8a0453edb28cd7.zip FreeBSD-src-59934affabaf5aeca78f89144f8a0453edb28cd7.tar.gz |
A potential panic, found by adding declarations.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/uipc_usrreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c index a1ec080..7a56b7e 100644 --- a/sys/kern/uipc_usrreq.c +++ b/sys/kern/uipc_usrreq.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)uipc_usrreq.c 8.3 (Berkeley) 1/4/94 - * $Id$ + * $Id: uipc_usrreq.c,v 1.3 1994/08/02 07:43:12 davidg Exp $ */ #include <sys/param.h> @@ -783,7 +783,7 @@ unp_gc() for (i = nunref, fpp = extra_ref; --i >= 0; ++fpp) sorflush((struct socket *)(*fpp)->f_data); for (i = nunref, fpp = extra_ref; --i >= 0; ++fpp) - closef(*fpp); + closef(*fpp,(struct proc*) NULL); free((caddr_t)extra_ref, M_FILE); unp_gcing = 0; } |