]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fix compilation.
authorNick Mathewson <nickm@torproject.org>
Sun, 11 Feb 2018 21:16:58 +0000 (16:16 -0500)
committerNick Mathewson <nickm@torproject.org>
Sun, 11 Feb 2018 21:16:58 +0000 (16:16 -0500)
src/common/crypto.c

index 6dce7d5e8ae24c18c84c21d3b0c8f18e09440ef1..d85aca4004078d983c1a992740a91d52ea7225c0 100644 (file)
@@ -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. */