summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2005-05-01 04:03:06 +0000
committerColin Percival <cperciva@FreeBSD.org>2005-05-01 04:03:06 +0000
commitb5e23bcbcdd93fe486cd5a7ddcf82a9b68e9d0c6 (patch)
tree482ae43c6e5b416910a04909d5bbeb44d078d385 /sys
parent483c19239b8d64bcef0bbbfd72811e0dcbbd6d6e (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/ptrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/ptrace.h b/sys/sys/ptrace.h
index 5596790e768c4..0058683da9b0d 100644
--- a/sys/sys/ptrace.h
+++ b/sys/sys/ptrace.h
@@ -100,6 +100,7 @@ struct ptrace_lwpinfo {
if ((p)->p_flag & P_TRACED && (p)->p_stops & (flag)) { \
PROC_LOCK(p); \
ptracestop((td), SIGTRAP); \
+ PROC_UNLOCK(p); \
}
/*
* The flags below are used for ptrace(2) tracing and have no relation