aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2012-05-09 09:04:32 +0200
committerAndreas Schneider <asn@cryptomilk.org>2012-05-09 09:04:32 +0200
commit9bac67a05ab34f89636afc98d11e7883d226ca75 (patch)
tree8763b9c09e3eebc38c7f0acb0193e1af6f31b061
parenta3cb5b070760965bffc306184f3412453eb87edf (diff)
downloadlibssh-9bac67a05ab34f89636afc98d11e7883d226ca75.tar.gz
libssh-9bac67a05ab34f89636afc98d11e7883d226ca75.tar.xz
libssh-9bac67a05ab34f89636afc98d11e7883d226ca75.zip
bind: Fix build.
-rw-r--r--src/bind.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bind.c b/src/bind.c
index b87d47b2..59ebc1e8 100644
--- a/src/bind.c
+++ b/src/bind.c
@@ -209,7 +209,8 @@ int ssh_bind_listen(ssh_bind sshbind) {
if (ssh_key_type(sshbind->dsa) != SSH_KEYTYPE_DSS) {
ssh_set_error(sshbind, SSH_FATAL,
- "The DSA host key has the wrong type: %d");
+ "The DSA host key has the wrong type: %d",
+ ssh_key_type(sshbind->dsa));
ssh_key_free(sshbind->dsa);
return SSH_ERROR;
}