about summary refs log tree commit diff
path: root/stdio-common
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-12-20 07:31:14 +0000
committerRoland McGrath <roland@gnu.org>2005-12-20 07:31:14 +0000
commit322a48c5bfbeba2eb99ad8b1b7e3ab409a27bde6 (patch)
tree0d05b40777ddad78d243628102cdb46c43c028e4 /stdio-common
parent00c2b3b91dc5f11924006ed4fb69d9d7442749b7 (diff)
downloadglibc-322a48c5bfbeba2eb99ad8b1b7e3ab409a27bde6.tar.gz
glibc-322a48c5bfbeba2eb99ad8b1b7e3ab409a27bde6.tar.xz
glibc-322a48c5bfbeba2eb99ad8b1b7e3ab409a27bde6.zip
2005-12-15 Thomas Schwinge <tschwinge@gnu.org>
	* io/xmknodat.c: Include <stddef.h>.
	* misc/futimesat.c: Remove weak_alias and correct stub_warning.
	* stdio-common/renameat.c (renameat): Fix typo.
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/renameat.c2
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;