From 83885ebc39c3c4319093d85eef8249562c03f140 Mon Sep 17 00:00:00 2001 From: David van Moolenbroek Date: Sat, 23 May 2009 13:47:17 +0000 Subject: [PATCH] make lseek64 return correct new position --- lib/other/_lseek64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/other/_lseek64.c b/lib/other/_lseek64.c index e4aa9c506..057877b12 100644 --- a/lib/other/_lseek64.c +++ b/lib/other/_lseek64.c @@ -17,6 +17,6 @@ u64_t *newpos; m.m2_i2 = whence; if (_syscall(FS, LLSEEK, &m) < 0) return -1; if (newpos) - *newpos= make64(m.m2_l2, m.m2_l1); + *newpos= make64(m.m2_l1, m.m2_l2); return 0; } -- 2.44.0