From 36abf534ceec150978c92e34b9f07bd4263a7908 Mon Sep 17 00:00:00 2001 From: briggs Date: Sun, 14 Jan 1996 20:58:54 +0000 Subject: [PATCH] from netbsd: Fixes from PR #1931. --- sys/arch/mac68k/dev/nubus.c | 4 ++-- 1 file 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); } -- 2.20.1