summaryrefslogtreecommitdiffstats
path: root/usr.sbin/yppoll
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-04-16 19:24:53 +0000
committerderaadt <deraadt@openbsd.org>2013-04-16 19:24:53 +0000
commit5f9b15b43d63f43e267376b5262912eca4dd4e9d (patch)
treeb39537238ca287459f0182db9ac7f068a885a06d /usr.sbin/yppoll
parentcannot inspect out_name via a time_t pointer; ok guenther (diff)
downloadwireguard-openbsd-5f9b15b43d63f43e267376b5262912eca4dd4e9d.tar.xz
wireguard-openbsd-5f9b15b43d63f43e267376b5262912eca4dd4e9d.zip
remove casts to time_t * which are not needed
Diffstat (limited to 'usr.sbin/yppoll')
-rw-r--r--usr.sbin/yppoll/yppoll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/yppoll/yppoll.c b/usr.sbin/yppoll/yppoll.c
index df84e2fa125..6cb4f4d4460 100644
--- a/usr.sbin/yppoll/yppoll.c
+++ b/usr.sbin/yppoll/yppoll.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: yppoll.c,v 1.13 2013/04/02 02:50:49 deraadt Exp $ */
+/* $OpenBSD: yppoll.c,v 1.14 2013/04/16 19:24:55 deraadt Exp $ */
/* $NetBSD: yppoll.c,v 1.5 1996/05/13 02:46:36 thorpej Exp $ */
/*
@@ -168,7 +168,7 @@ main(int argc, char *argv[])
torder = order;
printf("Map %s has order number %lld. %s", inmap,
- (long long)order, ctime((time_t *)&torder));
+ (long long)order, ctime(&torder));
printf("The master server is %s.\n", master);
exit(0);
}