Selaa lähdekoodia

remove redundant "implement this" from log message

Roger Dingledine 6 vuotta sitten
vanhempi
commit
5f2c7a8567
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      src/common/crypto.c

+ 2 - 2
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));