TS lib verbosity tweak

This commit is contained in:
Thulinma 2018-05-09 09:43:11 +02:00
parent 61d116e2f3
commit 017258b1b9

View file

@ -72,7 +72,9 @@ namespace TS {
long long int bPos = data.tellg();
if(!data.read (strBuf,188))
{
HIGH_MSG("failed to read 188 bytes");
if (!data.eof()){
HIGH_MSG("failed to read 188 bytes: %s", strerror(errno));
}
return false;
}