summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-11-17 21:52:26 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-11-17 21:52:26 +0000
commita742581c070be9b73d8fc5ae8adb24410a01acf3 (patch)
treef0f98830e3dceda70a4cf09948c3f1e340d0aa36 /sys/dev/acpi
parent810f81d685bf2da808f210880817d5c85cb714a0 (diff)
Print the type that's wrong.
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r--sys/dev/acpi/dsdt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/acpi/dsdt.c b/sys/dev/acpi/dsdt.c
index 79509b7e2c8..3ac5a2b7e58 100644
--- a/sys/dev/acpi/dsdt.c
+++ b/sys/dev/acpi/dsdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsdt.c,v 1.104 2007/11/17 16:41:47 kettenis Exp $ */
+/* $OpenBSD: dsdt.c,v 1.105 2007/11/17 21:52:25 kettenis Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
*
@@ -981,7 +981,7 @@ aml_setbufint(struct aml_value *dst, int bitpos, int bitlen,
struct aml_value *src)
{
if (src->type != AML_OBJTYPE_BUFFER)
- aml_die("wrong setbufint type\n");
+ aml_die("wrong setbufint type %d\n", src->type);
#if 1
/* Return buffer type */
@@ -1007,7 +1007,7 @@ aml_getbufint(struct aml_value *src, int bitpos, int bitlen,
struct aml_value *dst)
{
if (dst->type != AML_OBJTYPE_BUFFER)
- aml_die("wrong getbufint type\n");
+ aml_die("wrong getbufint type %d\n", src->type);
switch (src->type) {
case AML_OBJTYPE_INTEGER:
if (bitlen >= aml_intlen)