Make sure values for a %llx are long long.
This commit is contained in:
parent
f9450fa993
commit
366b23111a
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: db_xxx.c,v 1.10 2000/11/28 19:20:37 eeh Exp $ */
|
||||
/* $NetBSD: db_xxx.c,v 1.11 2000/11/28 21:44:34 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1989, 1991, 1993
|
||||
@ -202,14 +202,15 @@ db_show_callout(addr, haddr, count, modif)
|
||||
extern int callwheelsize;
|
||||
int i;
|
||||
|
||||
for (i=0; i<callwheelsize; i++) {
|
||||
for (i = 0; i < callwheelsize; i++) {
|
||||
struct callout_queue *bucket = &callwheel[i];
|
||||
struct callout *c = TAILQ_FIRST(bucket);
|
||||
|
||||
if (c) db_printf("bucket %d:\n", i);
|
||||
while (c) {
|
||||
db_printf("%p: time %llx arg %p flags %x func %p: ",
|
||||
c, c->c_time, c->c_arg, c->c_flags, c->c_func);
|
||||
c, (long long) c->c_time, c->c_arg,
|
||||
c->c_flags, c->c_func);
|
||||
db_printsym((u_long)c->c_func, DB_STGY_PROC, db_printf);
|
||||
db_printf("\n");
|
||||
c = TAILQ_NEXT(c, c_link);
|
||||
|
Loading…
Reference in New Issue
Block a user