diff --git a/eris.c b/eris.c index 434fcb2..c1c3531 100644 --- a/eris.c +++ b/eris.c @@ -303,7 +303,7 @@ fake_sendfile(int out_fd, int in_fd, off_t *offset, size_t count) m = write(out_fd, buf, l); if (-1 == m) { /* ALSO screwed. */ - fprintf(stderr, "Unable to write to client. Dying.\n"); + fprintf(stderr, "Unable to write to client: %m (req %s). Dying.\n", path); exit(0); } l -= m;