Page MenuHomeFreeBSD

D47079.diff
No OneTemporary

D47079.diff

diff --git a/usr.sbin/acpi/acpidump/acpi_user.c b/usr.sbin/acpi/acpidump/acpi_user.c
--- a/usr.sbin/acpi/acpidump/acpi_user.c
+++ b/usr.sbin/acpi/acpidump/acpi_user.c
@@ -42,7 +42,7 @@
#include "acpidump.h"
-static char hint_acpi_0_rsdp[] = "hint.acpi.0.rsdp";
+static char acpi_rsdp[] = "acpi.rsdp";
static char machdep_acpi_root[] = "machdep.acpi_root";
static int acpi_mem_fd = -1;
@@ -172,7 +172,7 @@
addr = 0;
/* Attempt to use kenv or sysctl to find RSD PTR record. */
- if (kenv(KENV_GET, hint_acpi_0_rsdp, buf, 20) > 0)
+ if (kenv(KENV_GET, acpi_rsdp, buf, 20) > 0)
addr = strtoul(buf, NULL, 0);
if (addr == 0) {
len = sizeof(addr);

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 13, 11:39 PM (21 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15788750
Default Alt Text
D47079.diff (670 B)

Event Timeline