diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2002-05-28 10:09:47 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2002-05-28 10:09:47 +0000 |
commit | dd54cc30c9ac5b59d0953f710a4f27a62e13f2ad (patch) | |
tree | 3cafc8e23bcd1283b6b651215cabe55251ee0c2d /sbin/isakmpd/timer.c | |
parent | cca14c593bdff82afa4b5a0322f419aa6a7913d8 (diff) |
Proper types in format strings. From <greg@nest.cx>
Diffstat (limited to 'sbin/isakmpd/timer.c')
-rw-r--r-- | sbin/isakmpd/timer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/isakmpd/timer.c b/sbin/isakmpd/timer.c index cbf5703e335..940ac2d4ad9 100644 --- a/sbin/isakmpd/timer.c +++ b/sbin/isakmpd/timer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: timer.c,v 1.8 2001/07/06 14:37:11 ho Exp $ */ +/* $OpenBSD: timer.c,v 1.9 2002/05/28 10:09:46 ho Exp $ */ /* $EOM: timer.c,v 1.13 2000/02/20 19:58:42 niklas Exp $ */ /* @@ -109,14 +109,14 @@ timer_add_event (char *name, void (*func) (void *), void *arg, { LOG_DBG ((LOG_TIMER, 10, "timer_add_event: event %s(%p) added before %s(%p), " - "expiration in %ds", name, + "expiration in %lds", name, arg, n->name, n->arg, expiration->tv_sec - now.tv_sec)); TAILQ_INSERT_BEFORE (n, ev, link); } else { LOG_DBG ((LOG_TIMER, 10, "timer_add_event: event %s(%p) added last, " - "expiration in %ds", name, arg, + "expiration in %lds", name, arg, expiration->tv_sec - now.tv_sec)); TAILQ_INSERT_TAIL (&events, ev, link); } |