commit | 2c55fcac0875304db50c360300821d1bcffbab03 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Fri Aug 04 05:24:58 2006 +0000 |
committer | Rob Landley <rob@landley.net> | Fri Aug 04 05:24:58 2006 +0000 |
tree | 36805358ceca14d2bab1cdb7c8c2868d1c5171b8 | |
parent | 6ced427a6debb71967a8b9cebc12e31c08de0f6a [diff] [blame] |
Thinko spotted by Vladimir Dronnikov.
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index 31f0feb..a926beb 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c
@@ -144,7 +144,7 @@ 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