mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-13 10:04:04 +01:00
Fix incorrect display of warning (ProductName specified doesn't exist).
This commit is contained in:
parent
ff012267ca
commit
30e9d2202f
@ -155,7 +155,7 @@ extern "C" int main(int argc, char * const argv[])
|
|||||||
if ( ProductName.notEmpty() ) {
|
if ( ProductName.notEmpty() ) {
|
||||||
// if a ProductName is specified in plist, this will be ignored.
|
// if a ProductName is specified in plist, this will be ignored.
|
||||||
configPlistTest.SMBIOS.defaultMacModel = GetModelFromString(ProductName);
|
configPlistTest.SMBIOS.defaultMacModel = GetModelFromString(ProductName);
|
||||||
if ( configPlistTest.SMBIOS.defaultMacModel ) {
|
if ( configPlistTest.SMBIOS.defaultMacModel == MaxMacModel ) {
|
||||||
printf("Warning: ProductName specified in command line (%s) doesn't exist. Command line option ignored.\n", ProductName.c_str());
|
printf("Warning: ProductName specified in command line (%s) doesn't exist. Command line option ignored.\n", ProductName.c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user