aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-08-04 05:24:58 +0000
committerRob Landley <rob@landley.net>2006-08-04 05:24:58 +0000
commit2c55fcac0875304db50c360300821d1bcffbab03 (patch)
tree36805358ceca14d2bab1cdb7c8c2868d1c5171b8
parent6ced427a6debb71967a8b9cebc12e31c08de0f6a (diff)
downloadbusybox-w32-2c55fcac0875304db50c360300821d1bcffbab03.tar.gz
busybox-w32-2c55fcac0875304db50c360300821d1bcffbab03.tar.bz2
busybox-w32-2c55fcac0875304db50c360300821d1bcffbab03.zip
Thinko spotted by Vladimir Dronnikov.
-rw-r--r--libbb/xfuncs.c2
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)
144 144
145void xlseek(int fd, off_t offset, int whence) 145void xlseek(int fd, off_t offset, int whence)
146{ 146{
147 if (whence != lseek(fd, offset, whence)) bb_error_msg_and_die("lseek"); 147 if (offset != lseek(fd, offset, whence)) bb_error_msg_and_die("lseek");
148} 148}
149#endif 149#endif
150 150