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_touch(struct snapraid_state* state)
uint32_t nano;
/* get a random nanosecond value */
if (randomize(&nano, sizeof(nano)) != 0) {
if (os_randomize(&nano, sizeof(nano)) != 0) {
/* LCOV_EXCL_START */
log_fatal(errno, "Failed to retrieve random values.\n");
exit(EXIT_FAILURE);