diff options
Diffstat (limited to 'libbb/xfuncs.c')
-rw-r--r-- | libbb/xfuncs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index 8784b50..da3775a 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c @@ -136,6 +136,7 @@ extern void bb_xread_all(int fd, void *buf, size_t count) bb_error_msg_and_die("Short read"); } count -= size; + buf = ((char *) buf) + size; } return; } |