Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ddb Make sure values for a %llx are long long.
details: https://anonhg.NetBSD.org/src/rev/f1182253a09f
branches: trunk
changeset: 499765:f1182253a09f
user: thorpej <thorpej%NetBSD.org@localhost>
date: Tue Nov 28 21:44:34 2000 +0000
description:
Make sure values for a %llx are long long.
diffstat:
sys/ddb/db_xxx.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8baca0108e5a -r f1182253a09f sys/ddb/db_xxx.c
--- a/sys/ddb/db_xxx.c Tue Nov 28 19:44:07 2000 +0000
+++ b/sys/ddb/db_xxx.c Tue Nov 28 21:44:34 2000 +0000
@@ -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 @@
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);
Home |
Main Index |
Thread Index |
Old Index