Commit cd700aaf authored by Ronny Meeus's avatar Ronny Meeus
Browse files

Print errno information in write_packet

parent 188ec1e2
......@@ -90,7 +90,7 @@ void write_packet() {
TRACE2(("leave write_packet: EINTR"))
return;
} else {
dropbear_exit("Error writing");
dropbear_exit("Error writing: %s", strerror(errno));
}
}
......@@ -131,7 +131,7 @@ void write_packet() {
TRACE2(("leave writepacket: EINTR"))
return;
} else {
dropbear_exit("Error writing");
dropbear_exit("Error writing: %s", strerror(errno));
}
}
all_ignore = (packet_type == SSH_MSG_IGNORE);
......
Markdown is supported
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