Use the 64 bit sized struct kinfo_proc for AMD64.
This commit is contained in:
parent
dae0bca875
commit
7c2063f710
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=114341
@ -74,7 +74,8 @@
|
||||
* to initialize it in two places: kern/kern_proc.c in the function
|
||||
* fill_kinfo_proc and in lib/libkvm/kvm_proc.c in the function kvm_proclist.
|
||||
*/
|
||||
#if defined(__alpha__) || defined(__ia64__) || defined(__sparc64__)
|
||||
#if defined(__alpha__) || defined(__ia64__) || defined(__sparc64__) || \
|
||||
defined(__amd64__)
|
||||
#define KINFO_PROC_SIZE 912 /* the correct size for kinfo_proc */
|
||||
#endif
|
||||
#ifdef __i386__
|
||||
|
Loading…
Reference in New Issue
Block a user