Skip to content

Commit c0322c2

Browse files
asomerstgross35
authored andcommitted
Fix size of struct kinfo_file on 32-bit FreeBSD
https://github.com/freebsd/freebsd-src/blob/main/sys/sys/user.h (backport <#3948>) (cherry picked from commit f2b8b8f)
1 parent 801bb94 commit c0322c2

File tree

1 file changed

+1
-1
lines changed
  • src/unix/bsd/freebsdlike/freebsd

1 file changed

+1
-1
lines changed

src/unix/bsd/freebsdlike/freebsd/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1645,7 +1645,7 @@ s_no_extra_traits! {
16451645
pub kf_flags: ::c_int,
16461646
_kf_pad0: ::c_int,
16471647
pub kf_offset: i64,
1648-
_priv: [::uintptr_t; 38], // FIXME if needed
1648+
_priv: [u8; 304], // FIXME: this is really a giant union
16491649
pub kf_status: u16,
16501650
_kf_pad1: u16,
16511651
_kf_ispare0: ::c_int,

0 commit comments

Comments
 (0)