diff --git a/headers/posix/fcntl.h b/headers/posix/fcntl.h index 30cd8fb483..ba0baeb6ab 100644 --- a/headers/posix/fcntl.h +++ b/headers/posix/fcntl.h @@ -59,7 +59,7 @@ #define O_DIRECTORY 0x00200000 /* fail if not a directory */ /* flags for the *at() functions */ -#define AT_FDCWD (-1) /* CWD FD for the *at() functions */ +#define AT_FDCWD (-100) /* CWD FD for the *at() functions */ #define AT_SYMLINK_NOFOLLOW 0x01 /* fstatat(), fchmodat(), fchownat(), utimensat() */