Fix debug build.

This commit is contained in:
nakayama 2011-05-21 16:32:00 +00:00
parent c95f237aba
commit 3bf0795076
2 changed files with 7 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: loadfile_machdep.c,v 1.9 2011/05/21 15:50:42 tsutsui Exp $ */
/* $NetBSD: loadfile_machdep.c,v 1.10 2011/05/21 16:32:00 nakayama Exp $ */
/*-
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@ -251,7 +251,8 @@ mmu_mapin(vaddr_t rva, vsize_t len)
if (itlb_slot >= itlb_slot_max)
panic("mmu_mapin: out of itlb_slots");
DPRINTF(("mmu_mapin: %p:%p.%p\n", va, hi(pa), lo(pa)));
DPRINTF(("mmu_mapin: 0x%lx:0x%x.0x%x\n", va,
hi(pa), lo(pa)));
data = TSB_DATA(0, /* global */
PGSZ_4M, /* 4mb page */

View File

@ -1,4 +1,4 @@
/* $NetBSD: ofdev.c,v 1.30 2011/05/21 15:50:42 tsutsui Exp $ */
/* $NetBSD: ofdev.c,v 1.31 2011/05/21 16:32:00 nakayama Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@ -126,7 +126,7 @@ filename(char *str, char *ppart)
sizeof devtype) < 0)
devtype[0] = 0;
}
DPRINTF(("filename: not found\n",lp));
DPRINTF(("filename: not found\n"));
return 0;
}
@ -501,12 +501,12 @@ open_again:
} else {
part = partition ? partition - 'a' : 0;
ofdev.partoff = label.d_partitions[part].p_offset;
DPRINTF(("devopen: setting partition %d offset %x\n",
DPRINTF(("devopen: setting partition %d offset %lx\n",
part, ofdev.partoff));
if (label.d_partitions[part].p_fstype == FS_RAID) {
ofdev.partoff += RF_PROTECTED_SECTORS;
DPRINTF(("devopen: found RAID partition, "
"adjusting offset to %x\n", ofdev.partoff));
"adjusting offset to %lx\n", ofdev.partoff));
}
}