From f4628e2fdac59fb062fc2713bbd15e2165588426 Mon Sep 17 00:00:00 2001 From: oster Date: Sun, 13 Jun 1999 21:34:32 +0000 Subject: [PATCH] FILE_UNUSE needs two args, not one. --- sys/compat/hpux/hpux_net.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/compat/hpux/hpux_net.c b/sys/compat/hpux/hpux_net.c index 4e4899bbca70..d662ff161f3e 100644 --- a/sys/compat/hpux/hpux_net.c +++ b/sys/compat/hpux/hpux_net.c @@ -1,4 +1,4 @@ -/* $NetBSD: hpux_net.c,v 1.17 1999/05/05 20:01:02 thorpej Exp $ */ +/* $NetBSD: hpux_net.c,v 1.18 1999/06/13 21:34:32 oster Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -245,7 +245,7 @@ hpux_sys_setsockopt(p, v, retval) error = sosetopt((struct socket *)fp->f_data, SCARG(uap, level), SCARG(uap, name), m); out: - FILE_UNUSE(fp); + FILE_UNUSE(fp, p); return (error); } @@ -281,7 +281,7 @@ hpux_sys_setsockopt2(p, v, retval) error = sosetopt((struct socket *)fp->f_data, SCARG(uap, level), SCARG(uap, name), m); out: - FILE_UNUSE(fp); + FILE_UNUSE(fp, p); return (error); } @@ -329,6 +329,6 @@ hpux_sys_getsockopt(p, v, retval) if (m != NULL) (void) m_free(m); out: - FILE_UNUSE(fp); + FILE_UNUSE(fp, p); return (error); }