diff options
author | Rob Landley <rob@landley.net> | 2006-08-04 05:24:58 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-08-04 05:24:58 +0000 |
commit | 2c55fcac0875304db50c360300821d1bcffbab03 (patch) | |
tree | 36805358ceca14d2bab1cdb7c8c2868d1c5171b8 /libbb | |
parent | 6ced427a6debb71967a8b9cebc12e31c08de0f6a (diff) | |
download | busybox-2c55fcac0875304db50c360300821d1bcffbab03.tar.gz |
Thinko spotted by Vladimir Dronnikov.
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 |