summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/arc4random/getentropy_solaris.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/arc4random/getentropy_solaris.c')
-rw-r--r--src/lib/libcrypto/arc4random/getentropy_solaris.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/arc4random/getentropy_solaris.c b/src/lib/libcrypto/arc4random/getentropy_solaris.c
index cf5b9bffa6..e36426caf1 100644
--- a/src/lib/libcrypto/arc4random/getentropy_solaris.c
+++ b/src/lib/libcrypto/arc4random/getentropy_solaris.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: getentropy_solaris.c,v 1.14 2020/05/17 14:44:20 deraadt Exp $ */ 1/* $OpenBSD: getentropy_solaris.c,v 1.15 2021/10/24 21:24:20 deraadt Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> 4 * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org>
@@ -164,7 +164,7 @@ start:
164#ifdef O_CLOEXEC 164#ifdef O_CLOEXEC
165 flags |= O_CLOEXEC; 165 flags |= O_CLOEXEC;
166#endif 166#endif
167 fd = open(path, flags, 0); 167 fd = open(path, flags);
168 if (fd == -1) { 168 if (fd == -1) {
169 if (errno == EINTR) 169 if (errno == EINTR)
170 goto start; 170 goto start;