From 8d821f390436f51375f5bdba8bc55f1f1c18ad43 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 27 Oct 1999 21:53:41 +0000 Subject: [PATCH] Really fix gettimeofday usage. --- libraries/liblutil/entropy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/liblutil/entropy.c b/libraries/liblutil/entropy.c index 56502d3217..b47749f3d6 100644 --- a/libraries/liblutil/entropy.c +++ b/libraries/liblutil/entropy.c @@ -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 -- 2.39.5