summaryrefslogtreecommitdiff
path: root/cli-runopts.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli-runopts.c')
-rw-r--r--cli-runopts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli-runopts.c b/cli-runopts.c
index 2ecf599..3c70332 100644
--- a/cli-runopts.c
+++ b/cli-runopts.c
@@ -491,7 +491,7 @@ static void loadidentityfile(const char* filename, int warnfail) {
keytype = DROPBEAR_SIGNKEY_ANY;
if ( readhostkey(filename, key, &keytype) != DROPBEAR_SUCCESS ) {
if (warnfail) {
- fprintf(stderr, "Failed loading keyfile '%s'\n", filename);
+ dropbear_log(LOG_WARNING, "Failed loading keyfile '%s'\n", filename);
}
sign_key_free(key);
} else {