Date: Sun, 27 May 2012 05:24:54 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r236136 - in head/sys: compat/freebsd32 kern Message-ID: <201205270524.q4R5Os5k027898@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Sun May 27 05:24:53 2012 New Revision: 236136 URL: http://svn.freebsd.org/changeset/base/236136 Log: Fix ki_cow for compat32 binaries. MFC after: 3 days Modified: head/sys/compat/freebsd32/freebsd32.h head/sys/kern/kern_proc.c Modified: head/sys/compat/freebsd32/freebsd32.h ============================================================================== --- head/sys/compat/freebsd32/freebsd32.h Sun May 27 01:24:51 2012 (r236135) +++ head/sys/compat/freebsd32/freebsd32.h Sun May 27 05:24:53 2012 (r236136) @@ -306,7 +306,7 @@ struct kinfo_proc32 { u_int ki_estcpu; u_int ki_slptime; u_int ki_swtime; - int ki_spareint1; + u_int ki_cow; u_int64_t ki_runtime; struct timeval32 ki_start; struct timeval32 ki_childtime; Modified: head/sys/kern/kern_proc.c ============================================================================== --- head/sys/kern/kern_proc.c Sun May 27 01:24:51 2012 (r236135) +++ head/sys/kern/kern_proc.c Sun May 27 05:24:53 2012 (r236136) @@ -1136,6 +1136,7 @@ freebsd32_kinfo_proc_out(const struct ki CP(*ki, *ki32, ki_estcpu); CP(*ki, *ki32, ki_slptime); CP(*ki, *ki32, ki_swtime); + CP(*ki, *ki32, ki_cow); CP(*ki, *ki32, ki_runtime); TV_CP(*ki, *ki32, ki_start); TV_CP(*ki, *ki32, ki_childtime);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205270524.q4R5Os5k027898>