summaryrefslogtreecommitdiffstats
path: root/usr.sbin/yppush
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-06-29 18:15:21 +0000
committerbde <bde@FreeBSD.org>1998-06-29 18:15:21 +0000
commitb43cf77fb72df5e47d4f6bf851e44ddea581dee5 (patch)
treeb61907630c56d7c1ee419013ff84fcb5d34f039f /usr.sbin/yppush
parent329ef73b32cf16503e7bdaa62b00cb7700b7550c (diff)
downloadFreeBSD-src-b43cf77fb72df5e47d4f6bf851e44ddea581dee5.zip
FreeBSD-src-b43cf77fb72df5e47d4f6bf851e44ddea581dee5.tar.gz
Don't assume that time_t is long.
Diffstat (limited to 'usr.sbin/yppush')
-rw-r--r--usr.sbin/yppush/yppush_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/yppush/yppush_main.c b/usr.sbin/yppush/yppush_main.c
index cadbff7..768c328 100644
--- a/usr.sbin/yppush/yppush_main.c
+++ b/usr.sbin/yppush/yppush_main.c
@@ -32,7 +32,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id$";
+ "$Id: yppush_main.c,v 1.9 1997/11/03 07:53:44 charnier Exp $";
#endif /* not lint */
#include <errno.h>
@@ -655,7 +655,7 @@ main(argc,argv)
sigaction(SIGIO, &sa, NULL);
/* set initial transaction ID */
- time(&yppush_transid);
+ yppush_transid = time((time_t *)NULL);
if (yppush_hostlist) {
/*
OpenPOWER on IntegriCloud