summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/i386/i386/apm.c4
-rw-r--r--sys/arch/i386/i386/bios.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/i386/i386/apm.c b/sys/arch/i386/i386/apm.c
index 2fc18ec3901..a431049518b 100644
--- a/sys/arch/i386/i386/apm.c
+++ b/sys/arch/i386/i386/apm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apm.c,v 1.81 2007/12/11 15:44:00 tedu Exp $ */
+/* $OpenBSD: apm.c,v 1.82 2008/08/16 00:26:26 krw Exp $ */
/*-
* Copyright (c) 1998-2001 Michael Shalayeff. All rights reserved.
@@ -751,7 +751,7 @@ apmprobe(struct device *parent, void *match, void *aux)
if (apm_cd.cd_ndevs || strcmp(ba->ba_name, "apm") ||
!(ba->ba_apmp->apm_detail & APM_32BIT_SUPPORTED)) {
- DPRINTF(("%s: %x\n", ba->bios_dev, ba->bios_apmp->apm_detail));
+ DPRINTF(("%s: %x\n", ba->ba_name, ba->ba_apmp->apm_detail));
return 0;
}
diff --git a/sys/arch/i386/i386/bios.c b/sys/arch/i386/i386/bios.c
index b12fbe7407d..1c94a6f50b2 100644
--- a/sys/arch/i386/i386/bios.c
+++ b/sys/arch/i386/i386/bios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bios.c,v 1.81 2008/06/08 13:55:06 kettenis Exp $ */
+/* $OpenBSD: bios.c,v 1.82 2008/08/16 00:26:26 krw Exp $ */
/*
* Copyright (c) 1997-2001 Michael Shalayeff
@@ -132,7 +132,7 @@ biosprobe(struct device *parent, void *match, void *aux)
#ifdef BIOS_DEBUG
printf("%s%d: boot API ver %x, %x; args %p[%d]\n",
- bia->bios_dev, bios_cd.cd_ndevs,
+ bia->ba_name, bios_cd.cd_ndevs,
bootapiver, BOOTARG_APIVER, bootargp, bootargc);
#endif
/* there could be only one */