Fix typo in sysdeps/unix/sysv/linux/powerpc/ftruncate64.c

Andreas Jaeger aj@suse.de
Wed Feb 16 04:31:00 GMT 2000


The appended patch is needed for glibc 2.2.

2000-02-16  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/powerpc/ftruncate64.c (ftruncate64): Fix
	typo.

============================================================
Index: sysdeps/unix/sysv/linux/powerpc/ftruncate64.c
--- sysdeps/unix/sysv/linux/powerpc/ftruncate64.c	2000/01/27 23:40:48	1.1
+++ sysdeps/unix/sysv/linux/powerpc/ftruncate64.c	2000/02/16 12:30:47
@@ -47,7 +47,7 @@
 #ifndef __ASSUME_TRUNCATE64_SYSCALL
       int saved_errno = errno;
 #endif
-      int result = __syscall_ftruncate64 (fd, off64_length);
+      int result = __syscall_ftruncate64 (fd, length);
 
 #ifndef __ASSUME_TRUNCATE64_SYSCALL
       if (result != -1 || errno != ENOSYS)

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


More information about the Libc-hacker mailing list