diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/getrandom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/getrandom.c b/sysdeps/unix/sysv/linux/getrandom.c index 0dc8fa6..d3eab66 100644 --- a/sysdeps/unix/sysv/linux/getrandom.c +++ b/sysdeps/unix/sysv/linux/getrandom.c @@ -246,7 +246,7 @@ __getrandom_early_init (_Bool initial) } params; long int ret = INTERNAL_VSYSCALL_CALL (GLRO(dl_vdso_getrandom), 5, NULL, 0, 0, ¶ms, ~0UL); - if (! INTERNAL_SYSCALL_ERROR_P (ret)) + if (ret == 0) { /* Align each opaque state to L1 data cache size to avoid false sharing. If the size can not be obtained, use the kernel |