Source-Changes-HG archive

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

[src/trunk]: src/external/cddl/osnet/dist/uts/common/dtrace Fix a bug in the ...



details:   https://anonhg.NetBSD.org/src/rev/e7804116211b
branches:  trunk
changeset: 752379:e7804116211b
user:      darran <darran%NetBSD.org@localhost>
date:      Wed Feb 24 21:08:54 2010 +0000

description:
Fix a bug in the dtrace_state_deadman() thread; return should have been
a continue (thanks Frank!).

diffstat:

 external/cddl/osnet/dist/uts/common/dtrace/dtrace.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r e3e9f82fe675 -r e7804116211b external/cddl/osnet/dist/uts/common/dtrace/dtrace.c
--- a/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c       Wed Feb 24 19:52:51 2010 +0000
+++ b/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c       Wed Feb 24 21:08:54 2010 +0000
@@ -12856,7 +12856,7 @@
 
            if (state != dtrace_anon.dta_state &&
                now - state->dts_laststatus >= dtrace_deadman_user)
-                   return;
+                   continue;
 
            /*
             * We must be sure that dts_alive never appears to be less than the



Home | Main Index | Thread Index | Old Index