diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/xfuncs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index 31f0febca..a926beb83 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c @@ -144,7 +144,7 @@ void xwrite(int fd, void *buf, size_t count) void xlseek(int fd, off_t offset, int whence) { - if (whence != lseek(fd, offset, whence)) bb_error_msg_and_die("lseek"); + if (offset != lseek(fd, offset, whence)) bb_error_msg_and_die("lseek"); } #endif |