Really fix gettimeofday usage.

This commit is contained in:
Kurt Zeilenga 1999-10-27 21:53:41 +00:00
parent 68a569c738
commit 8d821f3904

View File

@ -116,7 +116,7 @@ int lutil_entropy( char *buf, int nbytes )
/* hopefully has good resolution */
#ifdef HAVE_GETTIMEOFDAY
(void) gettimeofday( &rdata.tv, sizeof( rdata.tv ) );
(void) gettimeofday( &rdata.tv, NULL );
#else
(void) time( &rdata.time );
#endif