Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/acpitools/acpidump Consistently use ACPI_SIG_SSDT
details: https://anonhg.NetBSD.org/src/rev/94ccb7d5948a
branches: trunk
changeset: 958801:94ccb7d5948a
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Jan 20 15:27:51 2021 +0000
description:
Consistently use ACPI_SIG_SSDT
diffstat:
usr.sbin/acpitools/acpidump/acpi.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r ce76aa8c24f8 -r 94ccb7d5948a usr.sbin/acpitools/acpidump/acpi.c
--- a/usr.sbin/acpitools/acpidump/acpi.c Wed Jan 20 13:22:07 2021 +0000
+++ b/usr.sbin/acpitools/acpidump/acpi.c Wed Jan 20 15:27:51 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi.c,v 1.49 2020/12/14 10:18:28 jmcneill Exp $ */
+/* $NetBSD: acpi.c,v 1.50 2021/01/20 15:27:51 skrll Exp $ */
/*-
* Copyright (c) 1998 Doug Rabson
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: acpi.c,v 1.49 2020/12/14 10:18:28 jmcneill Exp $");
+__RCSID("$NetBSD: acpi.c,v 1.50 2021/01/20 15:27:51 skrll Exp $");
#include <sys/param.h>
#include <sys/endian.h>
@@ -4625,11 +4625,11 @@
/* Write out any SSDTs (if present.) */
if (rsdt != NULL) {
- ssdt = sdt_from_rsdt(rsdt, "SSDT", NULL);
+ ssdt = sdt_from_rsdt(rsdt, ACPI_SIG_SSDT, NULL);
while (ssdt != NULL) {
write(fd, ssdt + 1, ssdt->Length -
sizeof(ACPI_TABLE_HEADER));
- ssdt = sdt_from_rsdt(rsdt, "SSDT", ssdt);
+ ssdt = sdt_from_rsdt(rsdt, ACPI_SIG_SSDT, ssdt);
}
}
return (0);
Home |
Main Index |
Thread Index |
Old Index