Source-Changes-HG archive

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

[src/netbsd-3-0]: src/sys/kern Fix build problem introduced in ticket #2004 (...



details:   https://anonhg.NetBSD.org/src/rev/4d155bb839b3
branches:  netbsd-3-0
changeset: 579527:4d155bb839b3
user:      jdc <jdc%NetBSD.org@localhost>
date:      Tue Apr 14 08:50:41 2009 +0000

description:
Fix build problem introduced in ticket #2004 (with patch from mlelstv@).

diffstat:

 sys/kern/uipc_usrreq.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5ef5ad93eb3f -r 4d155bb839b3 sys/kern/uipc_usrreq.c
--- a/sys/kern/uipc_usrreq.c    Sat Apr 11 06:22:11 2009 +0000
+++ b/sys/kern/uipc_usrreq.c    Tue Apr 14 08:50:41 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uipc_usrreq.c,v 1.80.2.1.2.2 2009/04/11 06:21:23 snj Exp $     */
+/*     $NetBSD: uipc_usrreq.c,v 1.80.2.1.2.3 2009/04/14 08:50:41 jdc Exp $     */
 
 /*-
  * Copyright (c) 1998, 2000, 2004 The NetBSD Foundation, Inc.
@@ -103,7 +103,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uipc_usrreq.c,v 1.80.2.1.2.2 2009/04/11 06:21:23 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uipc_usrreq.c,v 1.80.2.1.2.3 2009/04/14 08:50:41 jdc Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1269,7 +1269,7 @@
                        fp->f_msgcount--;
                        simple_unlock(&fp->f_slock);
                        unp_rights--;
-                       (void) closef(fp, (struct lwp *)0);
+                       (void) closef(fp, (struct proc *)0);
                        simple_lock(&fp->f_slock);
                }
                FILE_USE(fp);



Home | Main Index | Thread Index | Old Index