Fix error count calculation

This commit is contained in:
Uwe Seimet 2023-11-14 11:18:57 +01:00
parent 23e5286267
commit 3f725cafe4
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ bool SCSIPrinter::WriteByteSequence(span<const uint8_t> buf)
out.write((const char *)buf.data(), buf.size());
const bool status = out.fail();
if (!status) {
if (status) {
++print_error_count;
}