From 7dba99875fa4a3539cc7778efa7486bdcefea898 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 2 Mar 2017 00:15:04 +0100 Subject: util.crand: Change argumen names to match some man page --- util-src/crand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util-src/crand.c b/util-src/crand.c index 95362589..353b153c 100644 --- a/util-src/crand.c +++ b/util-src/crand.c @@ -36,8 +36,8 @@ #error getrandom() requires Linux 3.17 or later #endif -int getrandom(void *buf, size_t len, int flags) { - return syscall(SYS_getrandom, buf, len, flags); +int getrandom(void *buf, size_t buflen, unsigned int flags) { + return syscall(SYS_getrandom, buf, buflen, flags); } #elif defined(WITH_ARC4RANDOM) -- cgit v1.2.3