aboutsummaryrefslogtreecommitdiff
path: root/lib/std/os/bits/linux.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-10-31 13:55:51 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-10-31 13:56:15 -0400
commit081c62fc0044e3bbe8d87873ef1ccc985911c812 (patch)
tree9f42ea563eaf467f349e5dbcc2245fd192f41a5e /lib/std/os/bits/linux.zig
parent00382f6dae83291468f0ba792f2cefc0216098da (diff)
downloadzig-081c62fc0044e3bbe8d87873ef1ccc985911c812.tar.gz
zig-081c62fc0044e3bbe8d87873ef1ccc985911c812.zip
fix regression in std.os.dirent64 on linux
Diffstat (limited to 'lib/std/os/bits/linux.zig')
-rw-r--r--lib/std/os/bits/linux.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/os/bits/linux.zig b/lib/std/os/bits/linux.zig
index f1bd06bdc9..0cf30920e4 100644
--- a/lib/std/os/bits/linux.zig
+++ b/lib/std/os/bits/linux.zig
@@ -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;
}
};