summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/dev
diff options
context:
space:
mode:
authorbriggs <briggs@cvs.openbsd.org>1996-01-14 20:58:55 +0000
committerbriggs <briggs@cvs.openbsd.org>1996-01-14 20:58:55 +0000
commit0d623006f28b7dc40ed5946845b754ae8e01cd81 (patch)
tree79459c263b5b4cbed7bc5cd9cc33bc0392fa6ac2 /sys/arch/mac68k/dev
parent5b90515497d6f8d62d59c70a2f3176d83bddec88 (diff)
from netbsd: Fixes from PR #1931.
Diffstat (limited to 'sys/arch/mac68k/dev')
-rw-r--r--sys/arch/mac68k/dev/nubus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mac68k/dev/nubus.c b/sys/arch/mac68k/dev/nubus.c
index 6c035f13332..7b15a53437b 100644
--- a/sys/arch/mac68k/dev/nubus.c
+++ b/sys/arch/mac68k/dev/nubus.c
@@ -1,4 +1,4 @@
-/* $NetBSD: nubus.c,v 1.14 1995/08/04 02:55:17 briggs Exp $ */
+/* $NetBSD: nubus.c,v 1.15 1996/01/12 04:16:43 briggs Exp $ */
/*
* Copyright (c) 1995 Allen Briggs. All rights reserved.
@@ -168,7 +168,7 @@ probe_slot(slot, fmt)
#ifdef DEBUG
if (nubus_debug & NDB_PROBE) {
- phys = pmap_extract(pmap_kernel(), rom_probe-1);
+ phys = pmap_extract(pmap_kernel(), (vm_offset_t)rom_probe-1);
printf("probing slot %d, first probe at 0x%x (phys 0x%x).\n",
slot, rom_probe-1, phys);
}