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 */