aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2016-12-04 18:05:43 +0100
committerBoris Faure <billiob@gmail.com>2016-12-04 18:05:43 +0100
commitd5f4811b2d498e06c36b038a07d0ecee12f27b30 (patch)
tree5e5435dbde253fb6e70a919f7a544b648bfb4901
parentfix getting lines with the beacon (diff)
downloadterminology-d5f4811b2d498e06c36b038a07d0ecee12f27b30.tar.gz
improve error message
-rw-r--r--src/bin/termpty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/termpty.c b/src/bin/termpty.c
index 845880b..c8d0e06 100644
--- a/src/bin/termpty.c
+++ b/src/bin/termpty.c
@@ -212,7 +212,7 @@ _cb_fd_read(void *data, Ecore_Fd_Handler *fd_handler)
len = read(ty->fd, rbuf, len);
if (len < 0 && errno != EAGAIN)
{
- ERR("error while reading from tty slave fd");
+ ERR("error while reading from tty slave fd: %s", strerror(errno));
break;
}
if (len <= 0) break;