Commit 8d821f39 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Really fix gettimeofday usage.

parent 68a569c7
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment