| Index: runtime/bin/crypto_macos.cc
|
| diff --git a/runtime/bin/crypto_macos.cc b/runtime/bin/crypto_macos.cc
|
| index 7bea2ae40141f25d1ab90445fca3afcba30707f3..e2447c017b66701d986aa6d7e2508c64c594b46a 100644
|
| --- a/runtime/bin/crypto_macos.cc
|
| +++ b/runtime/bin/crypto_macos.cc
|
| @@ -17,8 +17,8 @@ namespace bin {
|
|
|
| bool Crypto::GetRandomBytes(intptr_t count, uint8_t* buffer) {
|
| ThreadSignalBlocker signal_blocker(SIGPROF);
|
| - intptr_t fd = TEMP_FAILURE_RETRY_NO_SIGNAL_BLOCKER(
|
| - open("/dev/urandom", O_RDONLY));
|
| + intptr_t fd =
|
| + TEMP_FAILURE_RETRY_NO_SIGNAL_BLOCKER(open("/dev/urandom", O_RDONLY));
|
| if (fd < 0) {
|
| return false;
|
| }
|
|
|