Fix error count calculation (#1356)

This commit is contained in:
Uwe Seimet 2023-11-14 15:16:23 +01:00 committed by GitHub
parent f7bc77d978
commit f6d00a0e96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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