[tor-commits] [tor/master] fix compilation.

nickm at torproject.org nickm at torproject.org
Sun Feb 11 21:17:05 UTC 2018


commit 7aa94f744112d224dd7a5523faef7a9b858ad5b1
Author: Nick Mathewson <nickm at torproject.org>
Date:   Sun Feb 11 16:16:58 2018 -0500

    fix compilation.
---
 src/common/crypto.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/common/crypto.c b/src/common/crypto.c
index 6dce7d5e8..d85aca400 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -1963,9 +1963,9 @@ crypto_strongest_rand_syscall(uint8_t *out, size_t out_len)
                    " function--probably because it is too old?"
                    " Trying fallback method instead.");
       } else {
-        log_notice(LD_CRYPTO, "Can't get entropy from getrandom(): %s.",
-                              " Trying fallback method instead."
-                 strerror(errno));
+        log_notice(LD_CRYPTO, "Can't get entropy from getrandom(): %s."
+                              " Trying fallback method instead.",
+                   strerror(errno));
       }
 
       getrandom_works = 0; /* Don't bother trying again. */



More information about the tor-commits mailing list