From f4fd1a5df1c2cc4b370eed0755b652de8cf1dd3b Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 16 Apr 2013 19:24:56 +0000 Subject: remove casts to time_t * which are not needed --- usr.sbin/yppoll/yppoll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/yppoll/yppoll.c') 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); } -- cgit v1.2.3