Don't assume that time_t is long.
This commit is contained in:
parent
8720f72c80
commit
9064aa963a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37269
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static const char rcsid[] =
|
static const char rcsid[] =
|
||||||
"$Id$";
|
"$Id: yppush_main.c,v 1.9 1997/11/03 07:53:44 charnier Exp $";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
@ -655,7 +655,7 @@ main(argc,argv)
|
|||||||
sigaction(SIGIO, &sa, NULL);
|
sigaction(SIGIO, &sa, NULL);
|
||||||
|
|
||||||
/* set initial transaction ID */
|
/* set initial transaction ID */
|
||||||
time(&yppush_transid);
|
yppush_transid = time((time_t *)NULL);
|
||||||
|
|
||||||
if (yppush_hostlist) {
|
if (yppush_hostlist) {
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user