Mercurial > dropbear
comparison 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 |
comparison
equal
deleted
inserted
replaced
1236:a0062a354a80 | 1237:888e3d17e962 |
---|---|
158 "Exit (%s): %s", | 158 "Exit (%s): %s", |
159 ses.authstate.pw_name, format); | 159 ses.authstate.pw_name, format); |
160 } else if (ses.authstate.pw_name) { | 160 } else if (ses.authstate.pw_name) { |
161 /* we have a potential user */ | 161 /* we have a potential user */ |
162 snprintf(fmtbuf, sizeof(fmtbuf), | 162 snprintf(fmtbuf, sizeof(fmtbuf), |
163 "Exit before auth (user '%s', %d fails): %s", | 163 "Exit before auth (user '%s', %u fails): %s", |
164 ses.authstate.pw_name, ses.authstate.failcount, format); | 164 ses.authstate.pw_name, ses.authstate.failcount, format); |
165 } else { | 165 } else { |
166 /* before userauth */ | 166 /* before userauth */ |
167 snprintf(fmtbuf, sizeof(fmtbuf), | 167 snprintf(fmtbuf, sizeof(fmtbuf), |
168 "Exit before auth: %s", format); | 168 "Exit before auth: %s", format); |