From: David van Moolenbroek Date: Sat, 23 May 2009 13:47:17 +0000 (+0000) Subject: make lseek64 return correct new position X-Git-Tag: v3.1.5~245 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/static/named-checkconf.html?a=commitdiff_plain;h=83885ebc39c3c4319093d85eef8249562c03f140;p=minix.git make lseek64 return correct new position --- 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; }