From: briggs Date: Sun, 14 Jan 1996 20:58:54 +0000 (+0000) Subject: from netbsd: Fixes from PR #1931. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=36abf534ceec150978c92e34b9f07bd4263a7908;p=openbsd from netbsd: Fixes from PR #1931. --- 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); }