summaryrefslogtreecommitdiff
path: root/svr-session.c
diff options
context:
space:
mode:
authorChocobo1 <Chocobo1@users.noreply.github.com>2016-01-05 12:32:33 +0800
committerChocobo1 <Chocobo1@users.noreply.github.com>2016-01-05 12:37:48 +0800
commit9bcd5f3c0aac51af390b77d725c124e42baa60cd (patch)
treea73fb0457dbe6a90ba622e0791adf0938ee367ea /svr-session.c
parent533aebe33656f0ade5f9071ae7880b54a097752b (diff)
downloaddropbear-9bcd5f3c0aac51af390b77d725c124e42baa60cd.tar.gz
Fix print format specifier
Diffstat (limited to 'svr-session.c')
-rw-r--r--svr-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-session.c b/svr-session.c
index f777b5f..254a747 100644
--- a/svr-session.c
+++ b/svr-session.c
@@ -160,7 +160,7 @@ void svr_dropbear_exit(int exitcode, const char* format, va_list param) {
} else if (ses.authstate.pw_name) {
/* we have a potential user */
snprintf(fmtbuf, sizeof(fmtbuf),
- "Exit before auth (user '%s', %d fails): %s",
+ "Exit before auth (user '%s', %u fails): %s",
ses.authstate.pw_name, ses.authstate.failcount, format);
} else {
/* before userauth */