diff options
-rw-r--r-- | src/lj_prng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_prng.c b/src/lj_prng.c index a8b8b6de..c1a570cb 100644 --- a/src/lj_prng.c +++ b/src/lj_prng.c | |||
@@ -198,7 +198,7 @@ int LJ_FASTCALL lj_prng_seed_secure(PRNGState *rs) | |||
198 | #elif LJ_TARGET_HAS_GETENTROPY | 198 | #elif LJ_TARGET_HAS_GETENTROPY |
199 | 199 | ||
200 | #ifdef __ELF__ | 200 | #ifdef __ELF__ |
201 | if (getentropy && getentropy(rs->u, sizeof(rs->u)) == 0) | 201 | if (&getentropy && getentropy(rs->u, sizeof(rs->u)) == 0) |
202 | goto ok; | 202 | goto ok; |
203 | #else | 203 | #else |
204 | if (getentropy(rs->u, sizeof(rs->u)) == 0) | 204 | if (getentropy(rs->u, sizeof(rs->u)) == 0) |