This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[Patch] Fix i386/fxstat.c



There was a copy&paste error in my last patch. :-(

Andreas


2000-01-23  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Pass right
	parameter to fstat calls.

============================================================
Index: sysdeps/unix/sysv/linux/i386/fxstat.c
--- sysdeps/unix/sysv/linux/i386/fxstat.c	2000/01/19 03:51:05	1.1
+++ sysdeps/unix/sysv/linux/i386/fxstat.c	2000/01/23 13:27:48
@@ -53,7 +53,7 @@
       return INLINE_SYSCALL (fstat, 2, fd, (struct kernel_stat *) buf);
     }
 #if __ASSUME_STAT64_SYSCALL > 0
-  result = INLINE_SYSCALL (fstat64, 2, name, &buf64);
+  result = INLINE_SYSCALL (fstat64, 2, fd, &buf64);
   if (result == 0)
     result = xstat32_conv (vers, &buf64, buf);
   return result;
@@ -66,7 +66,7 @@
     {
       struct stat64 buf64;
 
-      result = INLINE_SYSCALL (fstat64, 2, name, &buf64);
+      result = INLINE_SYSCALL (fstat64, 2, fd, &buf64);
 
       if (result == 0)
 	result = xstat32_conv (vers, &buf64, buf);

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]