summaryrefslogtreecommitdiff
path: root/usr.sbin/rtadvd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-04-19 05:06:53 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-04-19 05:06:53 +0000
commitf0069c510c94d041d7dc06d9e85669593a26d6ec (patch)
tree17d0cfe83ff53b7602e9910cca957fa8be5e89c7 /usr.sbin/rtadvd
parent2d1a71e8668037c9dc97579facbdf1b1042e7112 (diff)
print tv_sec properly
Diffstat (limited to 'usr.sbin/rtadvd')
-rw-r--r--usr.sbin/rtadvd/rtadvd.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/rtadvd/rtadvd.c b/usr.sbin/rtadvd/rtadvd.c
index 2ca6ea94c25..a5dd636c348 100644
--- a/usr.sbin/rtadvd/rtadvd.c
+++ b/usr.sbin/rtadvd/rtadvd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtadvd.c,v 1.41 2013/04/17 00:14:37 deraadt Exp $ */
+/* $OpenBSD: rtadvd.c,v 1.42 2013/04/19 05:06:35 deraadt Exp $ */
/* $KAME: rtadvd.c,v 1.66 2002/05/29 14:18:36 itojun Exp $ */
/*
@@ -1454,8 +1454,6 @@ ra_timer_update(void *data, struct timeval *tm)
tm->tv_sec = interval;
tm->tv_usec = 0;
- log_debug("RA timer on %s is set to %ld:%ld", rai->ifname,
- (long int)tm->tv_sec, (long int)tm->tv_usec);
-
- return;
+ log_debug("RA timer on %s is set to %lld:%ld", rai->ifname,
+ (long long)tm->tv_sec, tm->tv_usec);
}