Mercurial > dropbear
diff svr-session.c @ 1237:888e3d17e962
Fix print format specifier
author | Chocobo1 <Chocobo1@users.noreply.github.com> |
---|---|
date | Tue, 05 Jan 2016 12:32:33 +0800 |
parents | d058e15ea213 |
children | 9169e4e7cbee |
line wrap: on
line diff
--- a/svr-session.c Tue Jan 05 12:25:10 2016 +0800 +++ b/svr-session.c Tue Jan 05 12:32:33 2016 +0800 @@ -160,7 +160,7 @@ } 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 */