diff options
author | Kim Alvefur <zash@zash.se> | 2017-03-02 00:15:04 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-03-02 00:15:04 +0100 |
commit | 7dba99875fa4a3539cc7778efa7486bdcefea898 (patch) | |
tree | d2af0da27fab52f0d5bae2d113bdc931d059f169 | |
parent | dfb72918f3fa150c6f6bae95cf2c945d17200fd4 (diff) | |
download | prosody-7dba99875fa4a3539cc7778efa7486bdcefea898.tar.gz prosody-7dba99875fa4a3539cc7778efa7486bdcefea898.zip |
util.crand: Change argumen names to match some man page
-rw-r--r-- | util-src/crand.c | 4 |
1 files 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) |