summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshconnect.c')
-rw-r--r--sshconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sshconnect.c b/sshconnect.c
index 013a896b7..0423955f7 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -806,7 +806,7 @@ check_host_key(char *host, struct sockaddr *hostaddr, Key *host_key,
806 host_file, host_line); 806 host_file, host_line);
807 } 807 }
808 if (options.strict_host_key_checking == 1) { 808 if (options.strict_host_key_checking == 1) {
809 log(msg); 809 log("%s", msg);
810 error("Exiting, you have requested strict checking."); 810 error("Exiting, you have requested strict checking.");
811 goto fail; 811 goto fail;
812 } else if (options.strict_host_key_checking == 2) { 812 } else if (options.strict_host_key_checking == 2) {
@@ -815,7 +815,7 @@ check_host_key(char *host, struct sockaddr *hostaddr, Key *host_key,
815 if (!confirm(msg)) 815 if (!confirm(msg))
816 goto fail; 816 goto fail;
817 } else { 817 } else {
818 log(msg); 818 log("%s", msg);
819 } 819 }
820 } 820 }
821 821