Skip to content

Commit 228246f

Browse files
committed
freebsd15: Add ki_uerrmsg to struct kinfo_proc
Upstream commit: freebsd/freebsd-src@7212b37
1 parent 6f7da72 commit 228246f

File tree

1 file changed

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

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,8 @@ s! {
226226
// This is normally "struct pwddesc".
227227
/// Pointer to process paths info.
228228
pub ki_pd: *mut c_void,
229+
/// Address of the ext err msg place
230+
pub ki_uerrmsg: *mut c_void,
229231
pub ki_spareptrs: [*mut c_void; crate::KI_NSPARE_PTR],
230232
pub ki_sparelongs: [c_long; crate::KI_NSPARE_LONG],
231233
/// PS_* flags.
@@ -445,7 +447,7 @@ pub const KF_TYPE_EVENTFD: c_int = 13;
445447

446448
/// max length of devicename
447449
pub const SPECNAMELEN: c_int = 255;
448-
pub const KI_NSPARE_PTR: usize = 5;
450+
pub const KI_NSPARE_PTR: usize = 4;
449451

450452
/// domainset policies
451453
pub const DOMAINSET_POLICY_INVALID: c_int = 0;

0 commit comments

Comments
 (0)