more informative print

Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
SergeySlice 2020-08-30 20:25:16 +03:00
parent e9f0f8ccd8
commit 6dd178030b

View File

@ -1293,7 +1293,7 @@ template <typename T, enable_if( is___String(T) )>
INT32 CmpDev(UINT8 *dsdt, UINT32 i, const T& Name)
{
if ( Name.length() != 4 ) {
MsgLog("ATTENTION : CmpDev called with a name with length() != 4\n");
MsgLog("ATTENTION : CmpDev called with a %s with length() != 4 %ld\n", Name.data(), Name.length());
return 0;
}
if ((dsdt[i+0] == Name[0]) && (dsdt[i+1] == Name[1]) &&