tunerstudio: do not try to print random chars

This commit is contained in:
Andrey Gusakov 2024-02-18 18:13:42 +03:00 committed by rusefillc
parent e0021544c9
commit 400f8321bf
1 changed files with 1 additions and 1 deletions

View File

@ -510,7 +510,7 @@ static int tsProcessOne(TsChannelBase* tsChannel) {
if (received != expectedSize) {
/* print and send error as we were in sync */
efiPrintf("Got only %d bytes while expecting %d for command %c", received,
efiPrintf("Got only %d bytes while expecting %d for command 0x%02x", received,
expectedSize, command);
tunerStudioError(tsChannel, "ERROR: not enough bytes in stream");
sendErrorCode(tsChannel, TS_RESPONSE_UNDERRUN);