summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/kern/kern_ktrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_ktrace.c b/sys/kern/kern_ktrace.c
index 2a34118a05e..a316905cf96 100644
--- a/sys/kern/kern_ktrace.c
+++ b/sys/kern/kern_ktrace.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_ktrace.c,v 1.6 1997/11/06 05:58:16 csapuntz Exp $ */
+/* $OpenBSD: kern_ktrace.c,v 1.7 1997/11/11 13:50:13 niklas Exp $ */
/* $NetBSD: kern_ktrace.c,v 1.23 1996/02/09 18:59:36 christos Exp $ */
/*
@@ -272,7 +272,7 @@ sys_ktrace(curp, v, retval)
syscallarg(int) pid;
} */ *uap = v;
register struct vnode *vp = NULL;
- register struct proc *p;
+ register struct proc *p = curproc; /* XXX */
struct pgrp *pg;
int facs = SCARG(uap, facs) & ~((unsigned) KTRFAC_ROOT);
int ops = KTROP(SCARG(uap, ops));