aboutsummaryrefslogtreecommitdiff
path: root/tests/server
diff options
context:
space:
mode:
Diffstat (limited to 'tests/server')
-rw-r--r--tests/server/sockfilt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c
index cc3f622d8..12fc6afbc 100644
--- a/tests/server/sockfilt.c
+++ b/tests/server/sockfilt.c
@@ -295,6 +295,7 @@ static ssize_t fullread(int filedes, void *buffer, size_t nbytes)
error = errno;
if((error == EINTR) || (error == EAGAIN))
continue;
+ logmsg("reading from file descriptor: %d,", filedes);
logmsg("unrecoverable read() failure: (%d) %s",
error, strerror(error));
return -1;
@@ -340,6 +341,7 @@ static ssize_t fullwrite(int filedes, const void *buffer, size_t nbytes)
error = errno;
if((error == EINTR) || (error == EAGAIN))
continue;
+ logmsg("writing to file descriptor: %d,", filedes);
logmsg("unrecoverable write() failure: (%d) %s",
error, strerror(error));
return -1;