Rename randomize to os_randomize

This commit is contained in:
Andrea Mazzoleni 2026-06-11 18:36:13 +02:00
parent 525d789f57
commit 130aaddbd0
6 changed files with 10 additions and 10 deletions

View file

@ -44,7 +44,7 @@ void state_rehash(struct snapraid_state* state)
/* set the new hash and seed */
state->hash = state->besthash;
if (randomize(state->hashseed, HASH_MAX) != 0) {
if (os_randomize(state->hashseed, HASH_MAX) != 0) {
/* LCOV_EXCL_START */
log_fatal(errno, "Failed to get random values.\n");
exit(EXIT_FAILURE);