Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/hpux FILE_UNUSE needs two args, not one.



details:   https://anonhg.NetBSD.org/src/rev/39d1f66d49bf
branches:  trunk
changeset: 473668:39d1f66d49bf
user:      oster <oster%NetBSD.org@localhost>
date:      Sun Jun 13 21:34:32 1999 +0000

description:
FILE_UNUSE needs two args, not one.

diffstat:

 sys/compat/hpux/hpux_net.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r a80f3b632f1d -r 39d1f66d49bf sys/compat/hpux/hpux_net.c
--- a/sys/compat/hpux/hpux_net.c        Sun Jun 13 20:39:15 1999 +0000
+++ b/sys/compat/hpux/hpux_net.c        Sun Jun 13 21:34:32 1999 +0000
@@ -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 @@
        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 @@
        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 @@
        if (m != NULL)
                (void) m_free(m);
  out:
-       FILE_UNUSE(fp);
+       FILE_UNUSE(fp, p);
        return (error);
 }



Home | Main Index | Thread Index | Old Index