Fix printf formats in panic messages.
This commit is contained in:
parent
9702e75aa1
commit
0750f35353
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: dvma.c,v 1.19 2000/06/29 07:19:05 mrg Exp $ */
|
/* $NetBSD: dvma.c,v 1.20 2000/11/03 04:52:27 tsutsui Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||||
|
@ -156,7 +156,7 @@ dvma_kvtopa(kva, bustype)
|
||||||
|
|
||||||
addr = (u_long)kva;
|
addr = (u_long)kva;
|
||||||
if ((addr & DVMA_MAP_BASE) != DVMA_MAP_BASE)
|
if ((addr & DVMA_MAP_BASE) != DVMA_MAP_BASE)
|
||||||
panic("dvma_kvtopa: bad dmva addr=0x%x\n", addr);
|
panic("dvma_kvtopa: bad dmva addr=0x%lx\n", addr);
|
||||||
|
|
||||||
switch (bustype) {
|
switch (bustype) {
|
||||||
case BUS_OBIO:
|
case BUS_OBIO:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: dvma.c,v 1.16 2000/06/29 07:19:12 mrg Exp $ */
|
/* $NetBSD: dvma.c,v 1.17 2000/11/03 04:52:28 tsutsui Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||||
|
@ -146,7 +146,7 @@ dvma_kvtopa(kva, bustype)
|
||||||
|
|
||||||
addr = (u_long)kva;
|
addr = (u_long)kva;
|
||||||
if ((addr & DVMA_MAP_BASE) != DVMA_MAP_BASE)
|
if ((addr & DVMA_MAP_BASE) != DVMA_MAP_BASE)
|
||||||
panic("dvma_kvtopa: bad dmva addr=0x%x\n", addr);
|
panic("dvma_kvtopa: bad dmva addr=0x%lx\n", addr);
|
||||||
|
|
||||||
switch (bustype) {
|
switch (bustype) {
|
||||||
case BUS_OBIO:
|
case BUS_OBIO:
|
||||||
|
|
Loading…
Reference in New Issue