diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-12-19 22:30:19 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-12-19 22:30:19 +0000 |
commit | a0d519fc3c9de24f44bbdd1b04b1610aa18fa338 (patch) | |
tree | 2b00629d209c9e5321af72f6c521c428ca59f3db /sys/arch/mvme88k/dev/vmes.c | |
parent | e1a0fc492ace0345fe9968a1a6c73b7bd901c11a (diff) |
Pass -Wformat, and silence a few vme* debug printf.
Diffstat (limited to 'sys/arch/mvme88k/dev/vmes.c')
-rw-r--r-- | sys/arch/mvme88k/dev/vmes.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/dev/vmes.c b/sys/arch/mvme88k/dev/vmes.c index d8f1a84a944..5a52244f754 100644 --- a/sys/arch/mvme88k/dev/vmes.c +++ b/sys/arch/mvme88k/dev/vmes.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vmes.c,v 1.12 2003/10/11 22:08:57 miod Exp $ */ +/* $OpenBSD: vmes.c,v 1.13 2003/12/19 22:30:18 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -165,7 +165,9 @@ vmesmmap(dev, off, prot) void * pa; pa = vmepmap(sc->sc_vme, off, NBPG, BUS_VMES); - printf("vmes %x pa %x\n", off, pa); +#ifdef DEBUG + printf("vmes %llx pa %p\n", off, pa); +#endif if (pa == NULL) return (-1); return (atop(pa)); |