]> Dogcows Code - chaz/tar/blobdiff - src/buffer.c
Changes for compatibility with Slackware installation scripts.
[chaz/tar] / src / buffer.c
index 97084ab5caa0d76a43abd053e5a11d9368996226..4b44eaf13b9844b39e7bc6b8c80adbb93c19e882 100644 (file)
@@ -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
This page took 0.016958 seconds and 4 git commands to generate.