summaryrefslogtreecommitdiff
path: root/src/modules/plasma/plasma.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/plasma/plasma.c')
-rw-r--r--src/modules/plasma/plasma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/plasma/plasma.c b/src/modules/plasma/plasma.c
index aca4e85..dfcbd15 100644
--- a/src/modules/plasma/plasma.c
+++ b/src/modules/plasma/plasma.c
@@ -66,7 +66,7 @@ static void * plasma_create_context(unsigned seed, unsigned ticks, unsigned n_cp
if (!ctxt)
return NULL;
- ctxt->rr = rand();
+ ctxt->rr = rand_r(&seed);
return ctxt;
}
© All Rights Reserved