summaryrefslogtreecommitdiff
path: root/usr.sbin/ikectl
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2013-08-16 19:47:44 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2013-08-16 19:47:44 +0000
commitf35430743bea905ecd754d289828beb7175af94a (patch)
tree66568cfdf53d2d745246592f38671854ec212e74 /usr.sbin/ikectl
parentcdbe708f5d373329c60706be10b500e13c9b2aa1 (diff)
Use %lld and cast to (long long) when printing time_t values
otto@ millert@ lteo@ mikeb@ deraadt@
Diffstat (limited to 'usr.sbin/ikectl')
-rw-r--r--usr.sbin/ikectl/ikectl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ikectl/ikectl.c b/usr.sbin/ikectl/ikectl.c
index 3b035b0d3e2..c1fb1dd3545 100644
--- a/usr.sbin/ikectl/ikectl.c
+++ b/usr.sbin/ikectl/ikectl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ikectl.c,v 1.16 2013/01/08 10:38:19 reyk Exp $ */
+/* $OpenBSD: ikectl.c,v 1.17 2013/08/16 19:47:42 guenther Exp $ */
/*
* Copyright (c) 2007-2013 Reyk Floeter <reyk@openbsd.org>
@@ -366,7 +366,7 @@ monitor(struct imsg *imsg)
imn = monitor_lookup(imsg->hdr.type);
printf("%s: imsg type %u len %u peerid %u pid %d\n", imn->name,
imsg->hdr.type, imsg->hdr.len, imsg->hdr.peerid, imsg->hdr.pid);
- printf("\ttimestamp: %u, %s", now, ctime(&now));
+ printf("\ttimestamp: %lld, %s", (long long)now, ctime(&now));
if (imn->type == -1)
done = 1;
if (imn->func != NULL)