diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-06-16 18:14:13 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-06-16 18:14:13 +0000 |
commit | 0e39eba453ef322c56fa6bfcf87c6f6af7ed2281 (patch) | |
tree | 9fb7a8779b77968edf9eb5eabd08887dd62d383a /sys | |
parent | aef60d12d5c4e8aeafae3b35c3d112aad9a1a129 (diff) |
export cpu# instead of apid#; art ok
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_sysctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c index 603a354b76b..720f65900c1 100644 --- a/sys/kern/kern_sysctl.c +++ b/sys/kern/kern_sysctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_sysctl.c,v 1.112 2004/06/13 21:49:26 niklas Exp $ */ +/* $OpenBSD: kern_sysctl.c,v 1.113 2004/06/16 18:14:12 deraadt Exp $ */ /* $NetBSD: kern_sysctl.c,v 1.17 1996/05/20 17:49:05 mrg Exp $ */ /*- @@ -1334,7 +1334,7 @@ fill_kproc2(struct proc *p, struct kinfo_proc2 *ki) ki->p_cpuid = KI_NOCPU; #ifdef MULTIPROCESSOR if (p->p_cpu != NULL) - ki->p_cpuid = p->p_cpu->ci_cpuid; + ki->p_cpuid = p->p_cpu->ci_dev.dv_unit; #endif PRELE(p); } |