From: Kurt Zeilenga Date: Wed, 27 Oct 1999 21:53:41 +0000 (+0000) Subject: Really fix gettimeofday usage. X-Git-Tag: UCDATA_2_4~307 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8d821f390436f51375f5bdba8bc55f1f1c18ad43;p=openldap Really fix gettimeofday usage. --- 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