Fix previous commit (r284357)

I forgot to convert the && to a ||

Pointyhat to: ngie
X-MFC with: r283678, r284336, r284357
This commit is contained in:
Enji Cooper 2015-06-13 22:29:43 +00:00
parent 63605044cf
commit 62692eb1b9

View File

@ -485,7 +485,7 @@ acpi_ibm_attach(device_t dev)
/* Enable per-model events. */
maker = kern_getenv("smbios.system.maker");
product = kern_getenv("smbios.system.product");
if (maker == NULL && product == NULL)
if (maker == NULL || product == NULL)
goto nosmbios;
for (i = 0; i < nitems(acpi_ibm_models); i++) {