[Glibc-bsd-commits] r2209 - trunk/glibc-ports/kfreebsd

ps-guest at alioth.debian.org ps-guest at alioth.debian.org
Sun Jul 6 14:39:47 UTC 2008


Author: ps-guest
Date: 2008-07-06 14:39:46 +0000 (Sun, 06 Jul 2008)
New Revision: 2209

Modified:
   trunk/glibc-ports/kfreebsd/openat.c
Log:
* fix bug inherited from upstream io/openat.c



Modified: trunk/glibc-ports/kfreebsd/openat.c
===================================================================
--- trunk/glibc-ports/kfreebsd/openat.c	2008-07-06 13:23:32 UTC (rev 2208)
+++ trunk/glibc-ports/kfreebsd/openat.c	2008-07-06 14:39:46 UTC (rev 2209)
@@ -102,7 +102,7 @@
   if (oflag & O_CREAT)
     __fortify_fail ("invalid openat call: O_CREAT without mode");
 
-  return __openat (file, oflag);
+  return __openat (fd, file, oflag);
 }
 
 strong_alias (__openat_2, __openat64_2)




More information about the Glibc-bsd-commits mailing list