Skip to content
Snippets Groups Projects
Commit 8977fbbd authored by Matt Johnston's avatar Matt Johnston
Browse files

Don't bother printing errno in exit messages (the code wasn't valid anyway)

--HG--
extra : convert_revision : 84b4b2b17c096faebd10975a08e91954e2014d82
parent ae1b0b07
No related merge requests found
...@@ -183,12 +183,6 @@ void svr_dropbear_exit(int exitcode, const char* format, va_list param) { ...@@ -183,12 +183,6 @@ void svr_dropbear_exit(int exitcode, const char* format, va_list param) {
"exit before auth: %s", format); "exit before auth: %s", format);
} }
if (errno != 0) {
/* XXX - is this valid? */
snprintf(fmtbuf, sizeof(fmtbuf), "%s [%d %s]", fmtbuf,
errno, strerror(errno));
}
_dropbear_log(LOG_INFO, fmtbuf, param); _dropbear_log(LOG_INFO, fmtbuf, param);
/* must be after we've done with username etc */ /* must be after we've done with username etc */
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment