diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-08-23 22:21:45 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-08-23 22:21:45 +0000 |
commit | 9958388d0a4d2166f3f7b1acfaae96e99f8843b7 (patch) | |
tree | ab1d7cfaa82b05c8b9df1d55216c6a854b15a50c /sys/compat/ultrix | |
parent | b384e85014c8970773b255f11530482e7110ccfb (diff) |
Just like getvnode, make getsock FREF the file so that we can't get away
with not refing it.
Eyeballed by lurene@daemonkitty.net, fries@, nordin@ and fries@
Some additional cleanups by nordin@
Diffstat (limited to 'sys/compat/ultrix')
-rw-r--r-- | sys/compat/ultrix/ultrix_misc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/compat/ultrix/ultrix_misc.c b/sys/compat/ultrix/ultrix_misc.c index 2f86fdb9241..dfd9ef7ce58 100644 --- a/sys/compat/ultrix/ultrix_misc.c +++ b/sys/compat/ultrix/ultrix_misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ultrix_misc.c,v 1.27 2002/08/23 01:13:09 pvalchev Exp $ */ +/* $OpenBSD: ultrix_misc.c,v 1.28 2002/08/23 22:21:44 art Exp $ */ /* $NetBSD: ultrix_misc.c,v 1.23 1996/04/07 17:23:04 jonathan Exp $ */ /* @@ -353,7 +353,6 @@ ultrix_sys_setsockopt(p, v, retval) if ((error = getsock(p->p_fd, SCARG(uap, s), &fp)) != 0) return (error); - FREF(fp); #define SO_DONTLINGER (~SO_LINGER) if (SCARG(uap, name) == SO_DONTLINGER) { m = m_get(M_WAIT, MT_SOOPTS); |