projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ced427
)
Thinko spotted by Vladimir Dronnikov.
author
Rob Landley
<rob@landley.net>
Fri, 4 Aug 2006 05:24:58 +0000
(
05:24
-0000)
committer
Rob Landley
<rob@landley.net>
Fri, 4 Aug 2006 05:24:58 +0000
(
05:24
-0000)
libbb/xfuncs.c
patch
|
blob
|
history
diff --git
a/libbb/xfuncs.c
b/libbb/xfuncs.c
index
31f0feb
..
a926beb
100644
(file)
--- 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