This commit is contained in:
Jan (janneke) Nieuwenhuizen 2022-10-19 09:49:11 +02:00
parent 20442cae67
commit 24b9afbd28
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 2 additions and 4 deletions

View File

@ -41,8 +41,6 @@ lseek (int filedes, off_t offset, int whence)
size_t skip = __buffered_read_clear (filedes);
if (whence == SEEK_CUR)
offset -= skip;
//long long_offset = offset;
//return _sys_call3 (SYS_lseek, filedes, long_offset, whence);
//return _sys_call3 (SYS_lseek, (int) filedes, (long) offset, (int) whence);
return _sys_call3 (SYS_lseek, filedes, (long) offset, whence);
long long_offset = offset;
return _sys_call3 (SYS_lseek, filedes, long_offset, whence);
}