fix regression in std.os.dirent64 on linux

This commit is contained in:
Andrew Kelley 2019-10-31 13:55:51 -04:00
parent 00382f6dae
commit 081c62fc00
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9

View File

@ -988,7 +988,7 @@ pub const dirent64 = extern struct {
d_type: u8,
d_name: u8, // field address is the address of first byte of name https://github.com/ziglang/zig/issues/173
pub fn reclen(self: dirent) u16 {
pub fn reclen(self: dirent64) u16 {
return self.d_reclen;
}
};