From: Rob Landley Date: Fri, 4 Aug 2006 05:24:58 +0000 (-0000) Subject: Thinko spotted by Vladimir Dronnikov. X-Git-Tag: 1_4_0~829 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c55fcac0875304db50c360300821d1bcffbab03;p=platform%2Fupstream%2Fbusybox.git 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 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