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