svn commit: r284358 - head/sys/dev/acpi_support
Garrett Cooper
ngie at FreeBSD.org
Sat Jun 13 22:29:44 UTC 2015
Author: ngie
Date: Sat Jun 13 22:29:43 2015
New Revision: 284358
URL: https://svnweb.freebsd.org/changeset/base/284358
Log:
Fix previous commit (r284357)
I forgot to convert the && to a ||
Pointyhat to: ngie
X-MFC with: r283678, r284336, r284357
Modified:
head/sys/dev/acpi_support/acpi_ibm.c
Modified: head/sys/dev/acpi_support/acpi_ibm.c
==============================================================================
--- head/sys/dev/acpi_support/acpi_ibm.c Sat Jun 13 22:27:59 2015 (r284357)
+++ head/sys/dev/acpi_support/acpi_ibm.c Sat Jun 13 22:29:43 2015 (r284358)
@@ -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++) {
More information about the svn-src-all
mailing list