From 7037f4ee927a98ab89630918651ac44a23d15b51 Mon Sep 17 00:00:00 2001 From: Tomasz Kojm Date: Mon, 26 Oct 2009 16:37:29 +0100 Subject: [PATCH] make buildbot happy --- libclamav/others.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libclamav/others.c b/libclamav/others.c index ed5302099..44e8e00bb 100644 --- a/libclamav/others.c +++ b/libclamav/others.c @@ -263,7 +263,7 @@ int cl_init(unsigned int initoptions) cli_rarload(); } gettimeofday(&tv, (struct timezone *) 0); - srand(pid + tv.tv_usec*++pid + clock()); + srand(pid + tv.tv_usec*(pid+1) + clock()); return CL_SUCCESS; }