diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2003-05-26 12:54:41 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2003-05-26 12:54:41 +0000 |
commit | 20e2b03569f2e2da98266a76f09b9d23b35f7dd4 (patch) | |
tree | 7a46ab8f20b9b773879d33190b8e91f521bb7b00 | |
parent | 723bada820a89bdb082a4022dbcddd6981d84e57 (diff) |
fix format strings; ok markus@
-rw-r--r-- | usr.bin/ssh/sshconnect.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c index 8ae6a70be2b..6cd12c43d28 100644 --- a/usr.bin/ssh/sshconnect.c +++ b/usr.bin/ssh/sshconnect.c @@ -13,7 +13,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshconnect.c,v 1.142 2003/05/23 08:29:30 djm Exp $"); +RCSID("$OpenBSD: sshconnect.c,v 1.143 2003/05/26 12:54:40 djm Exp $"); #include <openssl/bn.h> @@ -840,7 +840,7 @@ check_host_key(char *host, struct sockaddr *hostaddr, Key *host_key, host_file, host_line); } if (options.strict_host_key_checking == 1) { - logit(msg); + logit("%s", msg); error("Exiting, you have requested strict checking."); goto fail; } else if (options.strict_host_key_checking == 2) { @@ -849,7 +849,7 @@ check_host_key(char *host, struct sockaddr *hostaddr, Key *host_key, if (!confirm(msg)) goto fail; } else { - logit(msg); + logit("%s", msg); } } |