---
 cron.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cron.c b/cron.c
index 126ebf1..e95c661 100644
--- a/cron.c
+++ b/cron.c
@@ -294,7 +294,7 @@ parserange(char *str, long low, long high, struct range *r)
        if (random) {
                /* random replaces low in matchentry() */
                r->repeat = r->low; /* so that it doesn't repeat */
-               r->low = random_uniform(r->high - r->low+1) + r->low;
+               r->low = rng32_bounded(r->high - r->low+1) + r->low;
        }
 
        if (r->low < low || r->low > high || r->high < low || r->high > high || 
r->repeat < low || r->repeat > high) {
@@ -525,7 +525,7 @@ main(int argc, char *argv[])
        sigaction(SIGHUP, &sa, NULL);
        sigaction(SIGTERM, &sa, NULL);
 
-       random_seed();
+       rng32_seed();
 
        loadentries();
 
-- 
2.44.0


Reply via email to