diff options
Diffstat (limited to 'libssh/auth.c')
-rw-r--r-- | libssh/auth.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libssh/auth.c b/libssh/auth.c index 398dec3..23c6345 100644 --- a/libssh/auth.c +++ b/libssh/auth.c @@ -838,7 +838,9 @@ static int kbdauth_info_get(SSH_SESSION *session){ free(instruction); nprompts=ntohl(nprompts); if(nprompts>KBDINT_MAX_PROMPT){ - ssh_set_error(session,SSH_FATAL,"Too much prompt asked from server: %lu(0x%.8lx)",nprompts,nprompts); + ssh_set_error(session, SSH_FATAL, + "Too much prompt asked from server: %u (0x%.4x)", + nprompts, nprompts); leave_function(); return SSH_AUTH_ERROR; } |