Source-Changes-HG archive

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

[src/yamt-uio_vmspace]: src/sys/miscfs/fdesc fix proc/lwp mismatch in the pre...



details:   https://anonhg.NetBSD.org/src/rev/60ade3724cfe
branches:  yamt-uio_vmspace
changeset: 586723:60ade3724cfe
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sat Feb 18 11:47:22 2006 +0000

description:
fix proc/lwp mismatch in the previous.

diffstat:

 sys/miscfs/fdesc/fdesc_vnops.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8a615acae41e -r 60ade3724cfe sys/miscfs/fdesc/fdesc_vnops.c
--- a/sys/miscfs/fdesc/fdesc_vnops.c    Sat Feb 18 11:44:29 2006 +0000
+++ b/sys/miscfs/fdesc/fdesc_vnops.c    Sat Feb 18 11:47:22 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fdesc_vnops.c,v 1.89.2.1 2006/02/18 09:47:03 yamt Exp $        */
+/*     $NetBSD: fdesc_vnops.c,v 1.89.2.2 2006/02/18 11:47:22 yamt Exp $        */
 
 /*
  * Copyright (c) 1992, 1993
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fdesc_vnops.c,v 1.89.2.1 2006/02/18 09:47:03 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdesc_vnops.c,v 1.89.2.2 2006/02/18 11:47:22 yamt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -732,7 +732,7 @@
                    i < nfdesc_targets; ft++, i++) {
                        switch (ft->ft_fileno) {
                        case FD_CTTY:
-                               if (cttyvp(curlwp) == NULL)
+                               if (cttyvp(curproc) == NULL)
                                        continue;
                                break;
 



Home | Main Index | Thread Index | Old Index