diff options
Diffstat (limited to 'abuild-tar.c')
-rw-r--r-- | abuild-tar.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/abuild-tar.c b/abuild-tar.c index e491774..f7dc421 100644 --- a/abuild-tar.c +++ b/abuild-tar.c @@ -115,6 +115,7 @@ static ssize_t full_read(int fd, void *buf, size_t count) if (n <= 0) break; buf += n; + total += n; count -= n; } while (1); @@ -136,6 +137,7 @@ static ssize_t full_write(int fd, const void *buf, size_t count) if (n <= 0) break; buf += n; + total += n; count -= n; } while (1); |