diff options
| author | Tim Kientzle <kientzle@FreeBSD.org> | 2009-03-29 01:04:13 +0000 |
|---|---|---|
| committer | Tim Kientzle <kientzle@FreeBSD.org> | 2009-03-29 01:04:13 +0000 |
| commit | 86e15b80268aae39a27542ab30bc8d3b1db237de (patch) | |
| tree | 9ee7db01f6d096b03640f125ca510915204d31c9 /usr.bin | |
| parent | 4c1279899631467fda8e52e9d6b0192faa1c1004 (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/tar/write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tar/write.c b/usr.bin/tar/write.c index 165097481a0c..325d08589071 100644 --- a/usr.bin/tar/write.c +++ b/usr.bin/tar/write.c @@ -966,7 +966,7 @@ write_file_data(struct bsdtar *bsdtar, struct archive *a, siginfo_printinfo(bsdtar, progress); bytes_written = archive_write_data(a, bsdtar->buff, - FILEDATABUFLEN); + bytes_read); if (bytes_written < 0) { /* Write failed; this is bad */ bsdtar_warnc(bsdtar, 0, "%s", archive_error_string(a)); |
