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);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to