summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1998-11-15 16:33:02 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1998-11-15 16:33:02 +0000
commit91cdeccd3191f20631c3b327fc35c8abaa067660 (patch)
tree5e7add45c53623a32a9063c8e95e772c06b2bed7
parent1e5dda50c50017d31f86ae09ce65cd4c4238cd61 (diff)
print info about apm when APMDEBUG is defined
-rw-r--r--sys/arch/i386/i386/bios.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/bios.c b/sys/arch/i386/i386/bios.c
index 2b6b34e803f..822211ec5de 100644
--- a/sys/arch/i386/i386/bios.c
+++ b/sys/arch/i386/i386/bios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bios.c,v 1.22 1998/02/24 22:02:09 weingart Exp $ */
+/* $OpenBSD: bios.c,v 1.23 1998/11/15 16:33:01 art Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -180,7 +180,7 @@ biosattach(parent, self, aux)
#if NAPM > 0
if (apm) {
struct bios_attach_args ba;
-#ifdef DEBUG
+#if defined(DEBUG) || defined(APMDEBUG)
printf("apminfo: %x, code %x/%x[%x], data %x[%x], entry %x\n",
apm->apm_detail, apm->apm_code32_base,
apm->apm_code16_base, apm->apm_code_len,