This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH]: Fix misc/truncate64.c localplt


Please apply, thanks.

2008-05-08  David S. Miller  <davem@davemloft.net>

	* misc/truncate64.c (truncate64): Use __truncate not truncate.

diff --git a/misc/truncate64.c b/misc/truncate64.c
index d7e80dc..4a8a540 100644
--- a/misc/truncate64.c
+++ b/misc/truncate64.c
@@ -31,5 +31,5 @@ truncate64 (path, length)
       __set_errno (EINVAL);
       return -1;
     }
-  return truncate (path, (off_t) length);
+  return __truncate (path, (off_t) length);
 }
-- 
1.5.5.1.57.g5909c


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