From 9bcd5f3c0aac51af390b77d725c124e42baa60cd Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Tue, 5 Jan 2016 12:32:33 +0800 Subject: Fix print format specifier --- svr-session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svr-session.c') 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 */ -- cgit v1.2.3