Thinko spotted by Vladimir Dronnikov.

This commit is contained in:
Rob Landley 2006-08-04 05:24:58 +00:00
parent 6ced427a6d
commit 2c55fcac08

View File

@ -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