Zig 0.16: fixup

This commit is contained in:
LN Liberda 2026-05-23 19:40:47 +02:00
parent e3068d12ce
commit fd94a1614c

View file

@ -54,7 +54,7 @@ pub fn statAt(parent: std.Io.Dir, name: [:0]const u8, follow: bool, symlink: ?*b
.linux => {
var stat: std.os.linux.Statx = undefined;
var flags: u32 = std.os.linux.AT.EMPTY_PATH;
if (follow) flags |= std.os.linux.AT.SYMLINK_NOFOLLOW;
if (!follow) flags |= std.os.linux.AT.SYMLINK_NOFOLLOW;
return switch (std.os.linux.errno(std.os.linux.statx(
parent.handle,
name,