[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 7aa94f744112d224dd7a5523faef7a9b858ad5b1
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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. */

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits