summaryrefslogtreecommitdiff
path: root/libgo/runtime/mcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/runtime/mcache.c')
-rw-r--r--libgo/runtime/mcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/mcache.c b/libgo/runtime/mcache.c
index 43962714695..46684bc8240 100644
--- a/libgo/runtime/mcache.c
+++ b/libgo/runtime/mcache.c
@@ -35,7 +35,7 @@ runtime_allocmcache(void)
if(rate > 0x3fffffff) // make 2*rate not overflow
rate = 0x3fffffff;
if(rate != 0)
- c->next_sample = runtime_fastrand1() % (2*rate);
+ c->next_sample = runtime_fastrand() % (2*rate);
return c;
}