]> Dogcows Code - chaz/tar/blobdiff - src/list.c
Implement the --warning option.
[chaz/tar] / src / list.c
index 98c1e396b3547cb22a5ac590bb24d03b03a9b521..2436901bdfbd35a332742059d5f786f2a0ddb002 100644 (file)
@@ -141,8 +141,9 @@ read_and (void (*do_something) (void))
              status = read_header (false);
              if (status == HEADER_ZERO_BLOCK)
                break;
-             WARN ((0, 0, _("A lone zero block at %s"),
-                    STRINGIFY_BIGINT (current_block_ordinal (), buf)));
+             WARNOPT (WARN_ALONE_ZERO_BLOCK,
+                      (0, 0, _("A lone zero block at %s"),
+                       STRINGIFY_BIGINT (current_block_ordinal (), buf)));
              break;
            }
          status = prev_status;
This page took 0.023111 seconds and 4 git commands to generate.