From 322a48c5bfbeba2eb99ad8b1b7e3ab409a27bde6 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 20 Dec 2005 07:31:14 +0000 Subject: 2005-12-15 Thomas Schwinge * io/xmknodat.c: Include . * misc/futimesat.c: Remove weak_alias and correct stub_warning. * stdio-common/renameat.c (renameat): Fix typo. --- stdio-common/renameat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdio-common') 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; -- cgit v1.2.1