Skip to content
Snippets Groups Projects
Commit cd700aaf authored by Ronny Meeus's avatar Ronny Meeus
Browse files

Print errno information in write_packet

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