summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2003-05-12 22:49:54 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2003-05-12 22:49:54 +0000
commitceadd66ed0816d0a05a6e422b5d103d960980b8f (patch)
tree06654a534364cc0e170c4fbb96b31aa102f1ae42 /sys/kern
parentbf3e34f3526247d0497d436ab7e437ca22c79d17 (diff)
Quoting Theo: Do not approve diffs when you're hungover.
Accessing p_md members from MI code is not legal.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_proc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c
index dc82f9405c0..1f88b261601 100644
--- a/sys/kern/kern_proc.c
+++ b/sys/kern/kern_proc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_proc.c,v 1.15 2003/05/12 22:44:12 tedu Exp $ */
+/* $OpenBSD: kern_proc.c,v 1.16 2003/05/12 22:49:53 art Exp $ */
/* $NetBSD: kern_proc.c,v 1.14 1996/02/09 18:59:41 christos Exp $ */
/*
@@ -407,8 +407,8 @@ proc_printit(struct proc *p, const char *modif, int (*pr)(const char *, ...))
p->p_priority, p->p_usrpri, p->p_nice);
(*pr)(" forw=%p, back=%p, list=%p,%p\n",
p->p_forw, p->p_back, p->p_list.le_next, p->p_list.le_prev);
- (*pr)(" user=%p, vmspace=%p, md_regs=%p\n",
- p->p_addr, p->p_vmspace, p->p_md.md_regs);
+ (*pr)(" user=%p, vmspace=%p\n",
+ p->p_addr, p->p_vmspace);
(*pr)(" estcpu=%u, cpticks=%d, pctcpu=%d.%d%, swtime=%u\n",
p->p_estcpu, p->p_cpticks, p->p_pctcpu / 100, p->p_pctcpu % 100,
p->p_swtime);