random: use LogError for init failure
This commit is contained in:
1 parent
97e16f5704
commit
2ae392d561
1 file changed
+1
-1
+1
-1
@@ -57,7 +57,7 @@ static const int NUM_OS_RANDOM_BYTES = 32;
|
|||||||
|
|
||||||
[[noreturn]] void RandFailure()
|
[[noreturn]] void RandFailure()
|
||||||
{
|
{
|
||||||
LogPrintf("Failed to read randomness, aborting\n");
|
LogError("Failed to read randomness, aborting\n");
|
||||||
std::abort();
|
std::abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user