summaryrefslogtreecommitdiffhomepage
path: root/svr-session.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2016-01-20 21:24:36 +0800
committerMatt Johnston <matt@ucc.asn.au>2016-01-20 21:24:36 +0800
commit1fc1559d156648bac94d3fa51901a89619fceac7 (patch)
tree2d33c8c29105a52aca94492094ad92e7196162f0 /svr-session.c
parentde70b02c2f357d6a2fd51b2de3bec2e0f345d5b1 (diff)
parentde1993a1fdc12355ee90da357128d3ec43522c57 (diff)
Merge pull request #21 from Chocobo1/fix
Fix warnings
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 */