summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--packet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet.c b/packet.c
index 5f38f08..dc76639 100644
--- a/packet.c
+++ b/packet.c
@@ -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);