diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/platform/posix/posix_rand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/posix/posix_rand.c b/src/platform/posix/posix_rand.c index 65d1c031..2576a444 100644 --- a/src/platform/posix/posix_rand.c +++ b/src/platform/posix/posix_rand.c @@ -62,7 +62,7 @@ nni_plat_seed_prng(void *buf, size_t bufsz) int fd; if ((fd = open("/dev/urandom", O_RDONLY)) >= 0) { - (void) read(fd, buf, buffz); + (void) read(fd, buf, bufsz); (void) close(fd); } #endif |
