From 3a8b7284b0ef44ffcf6213b6d0ac5466abd65770 Mon Sep 17 00:00:00 2001 From: mark Date: Sun, 18 Jan 1998 04:11:41 +0000 Subject: [PATCH] Include sys/buf.h for the minphys() prototype. Fix several printf() format strings. --- sys/arch/arm32/podulebus/asc.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/arch/arm32/podulebus/asc.c b/sys/arch/arm32/podulebus/asc.c index 5c48c70a4b0a..71b43f5945e4 100644 --- a/sys/arch/arm32/podulebus/asc.c +++ b/sys/arch/arm32/podulebus/asc.c @@ -1,4 +1,4 @@ -/* $NetBSD: asc.c,v 1.20 1998/01/13 02:10:25 thorpej Exp $ */ +/* $NetBSD: asc.c,v 1.21 1998/01/18 04:11:41 mark Exp $ */ /* * Copyright (c) 1996 Mark Brinicombe @@ -53,6 +53,7 @@ #include #include #include +#include #include #include #include @@ -254,8 +255,8 @@ asc_dmago(dev, addr, count, flags) char *addr; int count, flags; { - printf("asc_dmago(addr=%x, count=%d,flags=%d)\n", (u_int)addr, count, flags); - printf("dmago: dc_addr=%x tcnt=%x\n", dev->sc_cur->dc_addr, dev->sc_tcnt); + printf("asc_dmago(addr=%p, count=%d,flags=%d)\n", addr, count, flags); + printf("dmago: dc_addr=%p tcnt=%lx\n", dev->sc_cur->dc_addr, dev->sc_tcnt); #ifdef DDB Debugger(); #else