From 774f770056887c27418bd715136fe1fdc8806d7d Mon Sep 17 00:00:00 2001 From: LemonBoy Date: Thu, 12 Sep 2019 12:42:59 +0200 Subject: [PATCH] Correct AT_FDCWD definition --- std/os/bits/linux.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/os/bits/linux.zig b/std/os/bits/linux.zig index 0617378da..cd8a3cbca 100644 --- a/std/os/bits/linux.zig +++ b/std/os/bits/linux.zig @@ -24,7 +24,7 @@ pub const STDOUT_FILENO = 1; pub const STDERR_FILENO = 2; /// Special value used to indicate openat should use the current working directory -pub const AT_FDCWD = 100; +pub const AT_FDCWD = -100; /// Do not follow symbolic links pub const AT_SYMLINK_NOFOLLOW = 0x100;