浏览代码

fix compilation.

Nick Mathewson 6 年之前
父节点
当前提交
7aa94f7441
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/common/crypto.c

+ 3 - 3
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. */