mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-11-03 21:49:42 -09:00
Zig 0.16: fixup
This commit is contained in:
parent
e3068d12ce
commit
fd94a1614c
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue