X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fbuffer.c;h=4b44eaf13b9844b39e7bc6b8c80adbb93c19e882;hb=00054440c7374fcd0106eb9b441c5972975a01d8;hp=97084ab5caa0d76a43abd053e5a11d9368996226;hpb=47560a0498bde20621ce4e367b1d68bf8cd8f1a3;p=chaz%2Ftar diff --git a/src/buffer.c b/src/buffer.c index 97084ab..4b44eaf 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -884,16 +884,16 @@ short_read (size_t status) left = record_size - status; if (left && left % BLOCKSIZE == 0 - && verbose_option + && (warning_option & WARN_RECORD_SIZE) && record_start_block == 0 && status != 0 && archive_is_dev ()) { unsigned long rsize = status / BLOCKSIZE; WARN ((0, 0, - ngettext ("Record size = %lu block", - "Record size = %lu blocks", - rsize), - rsize)); + ngettext ("Record size = %lu block", + "Record size = %lu blocks", + rsize), + rsize)); } while (left % BLOCKSIZE != 0