Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/mach Fixed dumb bug



details:   https://anonhg.NetBSD.org/src/rev/e1e21b4d6e6b
branches:  trunk
changeset: 542323:e1e21b4d6e6b
user:      manu <manu%NetBSD.org@localhost>
date:      Sun Jan 26 19:32:04 2003 +0000

description:
Fixed dumb bug

diffstat:

 sys/compat/mach/mach_thread.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r b6daaa58432a -r e1e21b4d6e6b sys/compat/mach/mach_thread.c
--- a/sys/compat/mach/mach_thread.c     Sun Jan 26 19:02:14 2003 +0000
+++ b/sys/compat/mach/mach_thread.c     Sun Jan 26 19:32:04 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mach_thread.c,v 1.16 2003/01/26 19:02:14 manu Exp $ */
+/*     $NetBSD: mach_thread.c,v 1.17 2003/01/26 19:32:04 manu Exp $ */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mach_thread.c,v 1.16 2003/01/26 19:02:14 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mach_thread.c,v 1.17 2003/01/26 19:32:04 manu Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -168,7 +168,6 @@
        simple_lock(&p->p_lwplock);
        p->p_nrlwps++;
        simple_unlock(&p->p_lwplock);
-       p->p_nrlwps++;
 
        /* 
         * The child relies on some values in mctc, so we should not



Home | Main Index | Thread Index | Old Index