diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2013-03-24 00:09:32 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2013-03-24 00:09:32 +0000 |
commit | 168c4fafff75f08f502f50cfc4efed011974bccc (patch) | |
tree | 0e305d7c1503fce27a9f542b9996438f9eaeb51e | |
parent | 719117be85e1c93d7bad26ce8f4ee7dfcadcbdf5 (diff) |
pstats is already 0, but the bonus = 0 belongs outside the pointer section
-rw-r--r-- | sys/sys/sysctl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h index 8255c424679..8cbea892b6f 100644 --- a/sys/sys/sysctl.h +++ b/sys/sys/sysctl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sysctl.h,v 1.130 2013/03/23 21:22:20 tedu Exp $ */ +/* $OpenBSD: sysctl.h,v 1.131 2013/03/24 00:09:31 tedu Exp $ */ /* $NetBSD: sysctl.h,v 1.16 1996/04/09 20:55:36 cgd Exp $ */ /* @@ -470,13 +470,13 @@ do { \ if (show_addresses) { \ (kp)->p_paddr = PTRTOINT64(paddr); \ (kp)->p_fd = PTRTOINT64((p)->p_fd); \ - (kp)->p_stats = 0; \ (kp)->p_limit = PTRTOINT64((pr)->ps_limit); \ (kp)->p_vmspace = PTRTOINT64((p)->p_vmspace); \ (kp)->p_sigacts = PTRTOINT64((p)->p_sigacts); \ (kp)->p_sess = PTRTOINT64((pg)->pg_session); \ (kp)->p_ru = PTRTOINT64((pr)->ps_ru); \ } \ + (kp)->p_stats = 0; \ (kp)->p_exitsig = (p)->p_exitsig; \ (kp)->p_flag = (p)->p_flag | (pr)->ps_flags | P_INMEM; \ \ |