From 20442cae671902f5202b78c8d7c74d72ad8b924a Mon Sep 17 00:00:00 2001 From: "Jan (janneke) Nieuwenhuizen" Date: Wed, 19 Oct 2022 09:39:36 +0200 Subject: [PATCH] OK --- lib/linux/lseek.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/linux/lseek.c b/lib/linux/lseek.c index 1971304e..66d96d7f 100644 --- a/lib/linux/lseek.c +++ b/lib/linux/lseek.c @@ -27,9 +27,8 @@ off_t _lseek (int filedes, off_t offset, int whence) { - return _sys_call3 (SYS_lseek, (int) filedes, (long) offset, (int) whence); - // long long_offset = offset; - // return _sys_call3 (SYS_lseek, filedes, long_offset, whence); + long long_offset = offset; + return _sys_call3 (SYS_lseek, filedes, long_offset, whence); } off_t