diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-11-11 13:50:14 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-11-11 13:50:14 +0000 |
commit | a6271469b969dd0722e9b914d7c03af8cd4f499d (patch) | |
tree | 1f088a8dde364c931b15851c48ad32843b08223c /sys/kern/kern_ktrace.c | |
parent | 045653b988c0cbb774225c774ac3911ccbc93cba (diff) |
uninitialized variable
Diffstat (limited to 'sys/kern/kern_ktrace.c')
-rw-r--r-- | sys/kern/kern_ktrace.c | 4 |
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)); |