util.crand: Change argumen names to match some man page

This commit is contained in:
Kim Alvefur 2017-03-02 00:15:04 +01:00
parent dfb72918f3
commit 7dba99875f

View file

@ -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)