mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-21 08:29:59 +00:00
Fix error count calculation (#1356)
This commit is contained in:
parent
f7bc77d978
commit
f6d00a0e96
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user