diff options
Diffstat (limited to 'stdio-common')
-rw-r--r-- | stdio-common/renameat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/renameat.c b/stdio-common/renameat.c index e8629098df..e09c5933ed 100644 --- a/stdio-common/renameat.c +++ b/stdio-common/renameat.c @@ -29,7 +29,7 @@ renameat (oldfd, old, newfd, new) int newfd; const char *new; { - if ((oldfd < 0 & oldfd !_ AT_FDCWD) || (newfd < 0 && newfd != AT_FDCWD)) + if ((oldfd < 0 & oldfd != AT_FDCWD) || (newfd < 0 && newfd != AT_FDCWD)) { __set_errno (EBADF); return -1; |