mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-23 11:35:19 +01:00
more informative print
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
parent
e9f0f8ccd8
commit
6dd178030b
@ -1293,7 +1293,7 @@ template <typename T, enable_if( is___String(T) )>
|
|||||||
INT32 CmpDev(UINT8 *dsdt, UINT32 i, const T& Name)
|
INT32 CmpDev(UINT8 *dsdt, UINT32 i, const T& Name)
|
||||||
{
|
{
|
||||||
if ( Name.length() != 4 ) {
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
if ((dsdt[i+0] == Name[0]) && (dsdt[i+1] == Name[1]) &&
|
if ((dsdt[i+0] == Name[0]) && (dsdt[i+1] == Name[1]) &&
|
||||||
|
Loading…
Reference in New Issue
Block a user