Fixed printf format errors.
This commit is contained in:
parent
767dfb80f8
commit
fc62ef1fb5
@ -61,7 +61,7 @@
|
||||
* any improvements or extensions that they make and grant Carnegie the
|
||||
* rights to redistribute these changes.
|
||||
*
|
||||
* $Id: vm_map.c,v 1.129 1998/06/21 14:53:43 bde Exp $
|
||||
* $Id: vm_map.c,v 1.130 1998/07/11 07:46:12 bde Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -2863,8 +2863,8 @@ DB_SHOW_COMMAND(map, vm_map_print)
|
||||
}
|
||||
#endif
|
||||
|
||||
db_iprintf("map entry 0x%x: start=0x%lx, end=0x%lx\n",
|
||||
(long) entry, (long) entry->start, (long) entry->end);
|
||||
db_iprintf("map entry %p: start=%p, end=%p\n",
|
||||
(void *)entry, (void *)entry->start, (void *)entry->end);
|
||||
nlines++;
|
||||
if (map->is_main_map) {
|
||||
static char *inheritance_name[4] =
|
||||
|
@ -61,7 +61,7 @@
|
||||
* any improvements or extensions that they make and grant Carnegie the
|
||||
* rights to redistribute these changes.
|
||||
*
|
||||
* $Id: vm_object.c,v 1.122 1998/06/07 17:13:12 dfr Exp $
|
||||
* $Id: vm_object.c,v 1.123 1998/06/21 14:53:44 bde Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -1567,10 +1567,12 @@ DB_SHOW_COMMAND(vmochk, vm_object_check)
|
||||
object->size);
|
||||
}
|
||||
if (!vm_object_in_map(object)) {
|
||||
db_printf("vmochk: internal obj is not in a map: "
|
||||
"ref: %d, size: %d: 0x%x, backing_object: 0x%x\n",
|
||||
object->ref_count, object->size,
|
||||
object->size, object->backing_object);
|
||||
db_printf(
|
||||
"vmochk: internal obj is not in a map: "
|
||||
"ref: %d, size: %lu: 0x%lx, backing_object: %p\n",
|
||||
object->ref_count, (u_long)object->size,
|
||||
(u_long)object->size,
|
||||
(void *)object->backing_object);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1659,7 +1661,7 @@ DB_SHOW_COMMAND(vmopag, vm_object_print_pages)
|
||||
int rcount;
|
||||
vm_page_t m;
|
||||
|
||||
db_printf("new object: 0x%x\n", object);
|
||||
db_printf("new object: %p\n", (void *)object);
|
||||
if ( nl > 18) {
|
||||
c = cngetc();
|
||||
if (c != ' ')
|
||||
|
@ -38,7 +38,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)vnode_pager.c 7.5 (Berkeley) 4/20/91
|
||||
* $Id: vnode_pager.c,v 1.92 1998/07/04 20:45:42 julian Exp $
|
||||
* $Id: vnode_pager.c,v 1.93 1998/07/11 07:46:16 bde Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -647,8 +647,14 @@ vnode_pager_generic_getpages(vp, m, bytecount, reqpage)
|
||||
IDX_TO_OFF(m[i]->pindex), &runpg);
|
||||
if (firstaddr == -1) {
|
||||
if (i == reqpage && foff < object->un_pager.vnp.vnp_size) {
|
||||
panic("vnode_pager_getpages: unexpected missing page: firstaddr: %d, foff: %ld, vnp_size: %d",
|
||||
firstaddr, foff, object->un_pager.vnp.vnp_size);
|
||||
/* XXX no %qd in kernel. */
|
||||
panic("vnode_pager_getpages: unexpected missing page: firstaddr: %d, foff: 0x%lx%08lx, vnp_size: 0x%lx%08lx",
|
||||
firstaddr, (u_long)(foff >> 32),
|
||||
(u_long)(u_int32_t)foff,
|
||||
(u_long)(u_int32_t)
|
||||
(object->un_pager.vnp.vnp_size >> 32),
|
||||
(u_long)(u_int32_t)
|
||||
object->un_pager.vnp.vnp_size);
|
||||
}
|
||||
vnode_pager_freepage(m[i]);
|
||||
runend = i + 1;
|
||||
|
Loading…
Reference in New Issue
Block a user