diff options
author | Konstantin Tokarev <ktokarev@smartlabs.tv> | 2015-12-01 21:56:11 +0300 |
---|---|---|
committer | Konstantin Tokarev <ktokarev@smartlabs.tv> | 2015-12-01 21:56:11 +0300 |
commit | 9c7f98551c7971ab95db79378e392f7ac400be1d (patch) | |
tree | 55572b748c0bac4488b9c53bddc6f7f4bf7ad242 /cli-runopts.c | |
parent | 15ce5654e0bfead8adf7c9b604f57fbb03cdf3f2 (diff) | |
download | dropbear-9c7f98551c7971ab95db79378e392f7ac400be1d.tar.gz |
Use dropbear_log instead of some fprintf's in client code.
Diffstat (limited to 'cli-runopts.c')
-rw-r--r-- | cli-runopts.c | 2 |
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 { |