From 8c3cc4c24bb5474727d6fd03a63232f0d0ea4505 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Fri, 27 Sep 2024 17:49:50 -0600 Subject: [PATCH] Fix size of struct kinfo_file on 32-bit FreeBSD https://github.com/freebsd/freebsd-src/blob/main/sys/sys/user.h (backport ) (cherry picked from commit f2b8b8f8c753755e74c5f0ae3440ea59b5909383) --- src/unix/bsd/freebsdlike/freebsd/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/bsd/freebsdlike/freebsd/mod.rs b/src/unix/bsd/freebsdlike/freebsd/mod.rs index 3c3e59b48b95..26a7d666547b 100644 --- a/src/unix/bsd/freebsdlike/freebsd/mod.rs +++ b/src/unix/bsd/freebsdlike/freebsd/mod.rs @@ -1645,7 +1645,7 @@ s_no_extra_traits! { pub kf_flags: ::c_int, _kf_pad0: ::c_int, pub kf_offset: i64, - _priv: [::uintptr_t; 38], // FIXME if needed + _priv: [u8; 304], // FIXME: this is really a giant union pub kf_status: u16, _kf_pad1: u16, _kf_ispare0: ::c_int,