mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-12 09:54:36 +01:00
error format string
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
parent
ef68d47d67
commit
9bff704ea7
@ -1024,7 +1024,7 @@ void getRPlt(MACHINE_TYPES Model, bool Mobile, char RPlt[8])
|
||||
{
|
||||
memset(RPlt, 0, 8);
|
||||
if (ApplePlatformData[Model].smcPlatform[0] != 'N') {
|
||||
snprintf(RPlt, 8, ApplePlatformData[Model].smcPlatform.c_str());
|
||||
snprintf(RPlt, 8, "%s", ApplePlatformData[Model].smcPlatform.c_str());
|
||||
// memcpy(RPlt, ApplePlatformData[Model].smcPlatform.c_str(), 8);
|
||||
} else {
|
||||
switch (gCPUStructure.Model) {
|
||||
|
Loading…
Reference in New Issue
Block a user