X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fbuffer.c;h=017282748ef07be5abef4a303f210167bf0c7bd6;hb=c9f5ead8dec28ea7b774184f3c22e9b02ac6f8e2;hp=e77f47c07d39a7466e74049eb5260269216b1df5;hpb=10f585ea2f69d33408226b310a0d5548220a2c48;p=chaz%2Ftar diff --git a/src/buffer.c b/src/buffer.c index e77f47c..0172827 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -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")));