aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-08-04 05:24:58 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-08-04 05:24:58 +0000
commit15f3320464c7df922029711286146a2ceb2950d2 (patch)
tree36805358ceca14d2bab1cdb7c8c2868d1c5171b8
parentdb1114e4826097feb8907bdec013c61ebd04c716 (diff)
downloadbusybox-w32-15f3320464c7df922029711286146a2ceb2950d2.tar.gz
busybox-w32-15f3320464c7df922029711286146a2ceb2950d2.tar.bz2
busybox-w32-15f3320464c7df922029711286146a2ceb2950d2.zip
Thinko spotted by Vladimir Dronnikov.
git-svn-id: svn://busybox.net/trunk/busybox@15774 69ca8d6d-28ef-0310-b511-8ec308f3f277
-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