summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index 380f038f42..c9db7cb4ba 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -2877,10 +2877,10 @@ crypto_strongest_rand_syscall(uint8_t *out, size_t out_len)
/* Useful log message for errno. */
if (errno == ENOSYS) {
- log_warn(LD_CRYPTO, "Can't get entropy from getrandom(). "
+ log_warn(LD_CRYPTO, "Can't get entropy from getrandom()."
" You are running a version of Tor built to support"
" getrandom(), but the kernel doesn't implement this"
- " implement this function--probably because it is too old?");
+ " function--probably because it is too old?");
} else {
log_warn(LD_CRYPTO, "Can't get entropy from getrandom(): %s.",
strerror(errno));