From e883a32f32f06aa76785a006c5d04338776128a4 Mon Sep 17 00:00:00 2001 From: Nate Straz Date: Thu, 3 Aug 2006 14:59:06 +0000 Subject: Set the random seed so all qarsh processes don't generate the same sequence of cookies. --- btimec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'btimec.c') diff --git a/btimec.c b/btimec.c index bea87bb..d766e8e 100644 --- a/btimec.c +++ b/btimec.c @@ -36,6 +36,7 @@ main(int argc, char **argv) fprintf(stderr, usage, argv[0]); exit(2); } + srandom(time(0)); for ( ; optind < argc; optind++) { btimedhost = argv[optind]; bt = btime(btimedhost); -- cgit