aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
}