From 8c3d110f34949e7797b0f3e663f0c46e66fc2622 Mon Sep 17 00:00:00 2001 From: pschwan Date: Wed, 25 Dec 2002 18:48:10 +0000 Subject: [PATCH] seed the random number generator with time(0) --- lustre/tests/statmany.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/tests/statmany.c b/lustre/tests/statmany.c index a291ebf..3775ad8 100644 --- a/lustre/tests/statmany.c +++ b/lustre/tests/statmany.c @@ -24,6 +24,8 @@ int main(int argc, char ** argv) exit(1); } + srand(time(0)); + count = strtoul(argv[2], NULL, 0); iter = strtoul(argv[3], NULL, 0); -- 1.8.3.1