]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
[BZ #2611]
authorUlrich Drepper <drepper@redhat.com>
Thu, 27 Apr 2006 14:32:13 +0000 (14:32 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 27 Apr 2006 14:32:13 +0000 (14:32 +0000)
2006-04-27  Ulrich Drepper  <drepper@redhat.com>
[BZ #2611]
* stdio-common/renameat.c (renameat): Fix typo.

ChangeLog
stdio-common/renameat.c

index f57e6c657b67355f1fe5125e88d9ddd59403e581..dc445c53c682ca53b45a2f1a6ca64abf695bec43 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-04-27  Ulrich Drepper  <drepper@redhat.com>
+
+       [BZ #2611]
+       * stdio-common/renameat.c (renameat): Fix typo.
+
 2006-04-26  Roland McGrath  <roland@redhat.com>
 
        * Makeconfig (%.v.i rule): Don't use -DASSEMBLER.
index e09c5933ed9cb3dc30b9167bef55fa00fe7f2928..1261da88a46888c9ae3264ae328ff27a91f388b1 100644 (file)
@@ -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;