aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 191954185..0f26ce421 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1584,7 +1584,8 @@ do_list_fingerprint(void)
crypto_pk_env_t *k;
const char *nickname = get_options()->Nickname;
if (!server_mode(get_options())) {
- printf("Clients don't have long-term identity keys. Exiting.\n");
+ log_err(LD_GENERAL,
+ "Clients don't have long-term identity keys. Exiting.\n");
return -1;
}
tor_assert(nickname);
@@ -1597,7 +1598,7 @@ do_list_fingerprint(void)
return -1;
}
if (crypto_pk_get_fingerprint(k, buf, 1)<0) {
- log_warn(LD_BUG, "Error computing fingerprint");
+ log_err(LD_BUG, "Error computing fingerprint");
return -1;
}
printf("%s %s\n", nickname, buf);