Date: Sat, 13 Jun 2015 22:29:43 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r284358 - head/sys/dev/acpi_support Message-ID: <201506132229.t5DMThgn037330@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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++) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506132229.t5DMThgn037330>