From 3c7f51b77f82b19f88fafbbc7272e96ee8ecbff8 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 9 Aug 1999 19:06:29 +0000 Subject: [PATCH] Fix tv.sec typo in last commit. srand(tv.tv_sec * (tv.tv_usec+1)) --- clients/tools/ldappasswd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/tools/ldappasswd.c b/clients/tools/ldappasswd.c index b63adeaa33..6ced63a274 100644 --- a/clients/tools/ldappasswd.c +++ b/clients/tools/ldappasswd.c @@ -592,7 +592,7 @@ main (int argc, char *argv[]) { struct timeval tv; gettimeofday (&tv, NULL); - srand(tv.sec * (tv.tv_usec + 1)); + srand(tv.tv_sec * (tv.tv_usec + 1)); } #else /* The traditional seed */ -- 2.39.5