make lseek64 return correct new position
This commit is contained in:
parent
00a2463d71
commit
83885ebc39
@ -17,6 +17,6 @@ u64_t *newpos;
|
|||||||
m.m2_i2 = whence;
|
m.m2_i2 = whence;
|
||||||
if (_syscall(FS, LLSEEK, &m) < 0) return -1;
|
if (_syscall(FS, LLSEEK, &m) < 0) return -1;
|
||||||
if (newpos)
|
if (newpos)
|
||||||
*newpos= make64(m.m2_l2, m.m2_l1);
|
*newpos= make64(m.m2_l1, m.m2_l2);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user