diff options
Diffstat (limited to 'src/modules/plasma')
-rw-r--r-- | src/modules/plasma/plasma.c | 2 |
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; } |