summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/io/acpica/osl.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/intel/io/acpica/osl.c')
-rw-r--r--usr/src/uts/intel/io/acpica/osl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/uts/intel/io/acpica/osl.c b/usr/src/uts/intel/io/acpica/osl.c
index ccaf746d1f..a9d32b281d 100644
--- a/usr/src/uts/intel/io/acpica/osl.c
+++ b/usr/src/uts/intel/io/acpica/osl.c
@@ -230,10 +230,10 @@ AcpiOsGetRootPointer()
* in the acpi-root-tab property.
*/
Address = ddi_prop_get_int64(DDI_DEV_T_ANY, ddi_root_node(),
- DDI_PROP_DONTPASS, "acpi-root-tab", NULL);
+ DDI_PROP_DONTPASS, "acpi-root-tab", 0);
- if ((Address == NULL) && ACPI_FAILURE(AcpiFindRootPointer(&Address)))
- Address = NULL;
+ if ((Address == 0) && ACPI_FAILURE(AcpiFindRootPointer(&Address)))
+ Address = 0;
return (Address);
}