From ceadd66ed0816d0a05a6e422b5d103d960980b8f Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Mon, 12 May 2003 22:49:54 +0000 Subject: Quoting Theo: Do not approve diffs when you're hungover. Accessing p_md members from MI code is not legal. --- sys/kern/kern_proc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/kern') 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); -- cgit v1.2.3