Fix error count calculation (#1356)

This commit is contained in:
Uwe Seimet
2023-11-14 15:16:23 +01:00
committed by Daniel Markstedt
parent 89528b436c
commit 41fb8db6dd

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;
}