summaryrefslogtreecommitdiffhomepage
path: root/svr-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'svr-session.c')
-rw-r--r--svr-session.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/svr-session.c b/svr-session.c
index da49e1a..2a6bc66 100644
--- a/svr-session.c
+++ b/svr-session.c
@@ -138,21 +138,21 @@ void svr_dropbear_exit(int exitcode, const char* format, va_list param) {
if (!sessinitdone) {
/* before session init */
snprintf(fmtbuf, sizeof(fmtbuf),
- "premature exit: %s", format);
+ "Premature exit: %s", format);
} else if (ses.authstate.authdone) {
/* user has authenticated */
snprintf(fmtbuf, sizeof(fmtbuf),
- "exit after auth (%s): %s",
+ "Exit (%s): %s",
ses.authstate.pw_name, format);
} 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', %d fails): %s",
ses.authstate.pw_name, ses.authstate.failcount, format);
} else {
/* before userauth */
snprintf(fmtbuf, sizeof(fmtbuf),
- "exit before auth: %s", format);
+ "Exit before auth: %s", format);
}
_dropbear_log(LOG_INFO, fmtbuf, param);