diff options
Diffstat (limited to 'tools/include')
| -rw-r--r-- | tools/include/nolibc/sys.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/include/nolibc/sys.h b/tools/include/nolibc/sys.h index 32815c299365..847af1ccbdc9 100644 --- a/tools/include/nolibc/sys.h +++ b/tools/include/nolibc/sys.h @@ -613,8 +613,6 @@ off_t sys_lseek(int fd, off_t offset, int whence) ret = my_syscall5(__NR_llseek, fd, offset >> 32, (uint32_t)offset, &loff, whence); if (ret < 0) result = ret; - else if (loff != (off_t)loff) - result = -EOVERFLOW; else result = loff; |