]> Dogcows Code - chaz/tar/blobdiff - src/buffer.c
Remove bogus errno FIXMEs.
[chaz/tar] / src / buffer.c
index e77f47c07d39a7466e74049eb5260269216b1df5..017282748ef07be5abef4a303f210167bf0c7bd6 100644 (file)
@@ -912,7 +912,7 @@ flush_write (void)
 
   if (tape_length_option && tape_length_option <= bytes_written)
     {
-      errno = ENOSPC;          /* FIXME: errno should be read-only */
+      errno = ENOSPC;
       status = 0;
     }
   else if (dev_null_output)
@@ -1080,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.024074 seconds and 4 git commands to generate.