diff options
Diffstat (limited to 'src/lib/libcrypto/arc4random/getentropy_aix.c')
-rw-r--r-- | src/lib/libcrypto/arc4random/getentropy_aix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/arc4random/getentropy_aix.c b/src/lib/libcrypto/arc4random/getentropy_aix.c index 422e685dd8..7fb857e6d2 100644 --- a/src/lib/libcrypto/arc4random/getentropy_aix.c +++ b/src/lib/libcrypto/arc4random/getentropy_aix.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: getentropy_aix.c,v 1.7 2020/05/17 14:44:20 deraadt Exp $ */ | 1 | /* $OpenBSD: getentropy_aix.c,v 1.8 2021/10/24 21:24:20 deraadt Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2015 Michael Felt <aixtools@gmail.com> | 4 | * Copyright (c) 2015 Michael Felt <aixtools@gmail.com> |
@@ -134,7 +134,7 @@ start: | |||
134 | #ifdef O_CLOEXEC | 134 | #ifdef O_CLOEXEC |
135 | flags |= O_CLOEXEC; | 135 | flags |= O_CLOEXEC; |
136 | #endif | 136 | #endif |
137 | fd = open(path, flags, 0); | 137 | fd = open(path, flags); |
138 | if (fd == -1) { | 138 | if (fd == -1) { |
139 | if (errno == EINTR) | 139 | if (errno == EINTR) |
140 | goto start; | 140 | goto start; |