]> Dogcows Code - chaz/tar/blobdiff - src/buffer.c
(dump_file): Do not diagnose a file that the parent directory
[chaz/tar] / src / buffer.c
index 704b720dc8f2c237617260e25a4b08b24f6ae69b..d60eaea55c1755368ba79ad29312621a19a4425b 100644 (file)
@@ -169,7 +169,9 @@ print_total_written (void)
     seconds = time (0) - start_time;
 
   sprintf (bytes, TARLONG_FORMAT, written);
-  fprintf (stderr, _("Total written: %s bytes (%sB, %sB/s)\n"), bytes,
+
+  /* Amanda 2.4.1p1 looks for "Total bytes written: [0-9][0-9]*".  */
+  fprintf (stderr, _("Total bytes written: %s (%sB, %sB/s)\n"), bytes,
           human_readable ((uintmax_t) written, abbr, 1, -1024),
           (0 < seconds && written / seconds < (uintmax_t) -1
            ? human_readable ((uintmax_t) (written / seconds), rate, 1, -1024)
@@ -1078,7 +1080,7 @@ write_error (ssize_t status)
 static void
 read_error (void)
 {
-  WARN ((0, errno, _("Read error on %s"), *archive_name_cursor));
+  ERROR ((0, errno, _("Read error on %s"), *archive_name_cursor));
 
   if (record_start_block == 0)
     FATAL_ERROR ((0, 0, _("At beginning of tape, quitting now")));
This page took 0.023641 seconds and 4 git commands to generate.