about summary refs log tree commit diff
path: root/stdio-common
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-04-27 21:29:55 +0000
committerJakub Jelinek <jakub@redhat.com>2006-04-27 21:29:55 +0000
commit0ad70fc14340d1e3ac2976014766c6eb6d5d3715 (patch)
tree31c5833023f6399a6bada4016306a5a417461ed7 /stdio-common
parent9b356005b4dca9c57af7cb1f5313a13a728c6310 (diff)
downloadglibc-0ad70fc14340d1e3ac2976014766c6eb6d5d3715.tar.gz
glibc-0ad70fc14340d1e3ac2976014766c6eb6d5d3715.tar.xz
glibc-0ad70fc14340d1e3ac2976014766c6eb6d5d3715.zip
Updated to fedora-glibc-20060427T2122
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/renameat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdio-common/renameat.c b/stdio-common/renameat.c
index e09c5933ed..1261da88a4 100644
--- a/stdio-common/renameat.c
+++ b/stdio-common/renameat.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2005 Free Software Foundation, Inc.
+/* Copyright (C) 2005, 2006 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -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;