Skip to content

Commit dc3bf0a

Browse files
neuschaefertgross35
authored andcommitted
freebsd14: Add st_fileref to struct stat
st_fileref was backported to FreeBSD 14 with the 14.3 release. freebsd/freebsd-src@86e95bb
1 parent d54af17 commit dc3bf0a

File tree

1 file changed

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

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ s! {
234234
pub ki_tdflags: c_long,
235235
}
236236

237+
#[non_exhaustive]
237238
pub struct stat {
238239
pub st_dev: crate::dev_t,
239240
pub st_ino: crate::ino_t,
@@ -265,7 +266,8 @@ s! {
265266
pub st_blksize: crate::blksize_t,
266267
pub st_flags: crate::fflags_t,
267268
pub st_gen: u64,
268-
pub st_spare: [u64; 10],
269+
pub st_filerev: u64,
270+
pub st_spare: [u64; 9],
269271
}
270272
}
271273

0 commit comments

Comments
 (0)