std.c: fix Stat on dragonfly to use the correct field as blksize
1 files changed, 2 insertions(+), 2 deletions(-)
lib/std/c.zig+2-2
| ... | ... | @@ -7895,11 +7895,11 @@ pub const Stat = switch (native_os) { |
| 7895 | 7895 | ctim: timespec, |
| 7896 | 7896 | size: c_ulong, |
| 7897 | 7897 | blocks: i64, |
| 7898 | | blksize: u32, |
| 7898 | _old_blksize: u32, |
| 7899 | 7899 | flags: u32, |
| 7900 | 7900 | gen: u32, |
| 7901 | 7901 | lspare: i32, |
| 7902 | | qspare1: i64, |
| 7902 | blksize: blksize_t, |
| 7903 | 7903 | qspare2: i64, |
| 7904 | 7904 | pub fn atime(self: @This()) timespec { |
| 7905 | 7905 | return self.atim; |