- markus@cvs.openbsd.org 2001/06/24 05:47:13
[sshconnect2.c]
oops, missing format string
diff --git a/sshconnect2.c b/sshconnect2.c
index 5f4943b..4ce8d4d 100644
--- a/sshconnect2.c
+++ b/sshconnect2.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshconnect2.c,v 1.77 2001/06/24 05:35:34 markus Exp $");
+RCSID("$OpenBSD: sshconnect2.c,v 1.78 2001/06/24 05:47:13 markus Exp $");
#include <openssl/bn.h>
#include <openssl/md5.h>
@@ -769,9 +769,9 @@
inst = packet_get_string(NULL);
lang = packet_get_string(NULL);
if (strlen(name) > 0)
- log(name);
+ log("%s", name);
if (strlen(inst) > 0)
- log(inst);
+ log("%s", inst);
xfree(name);
xfree(inst);
xfree(lang);