summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libs6/s6-ftrigrd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs6/s6-ftrigrd.c b/src/libs6/s6-ftrigrd.c
index efa7fe8..50ced0f 100644
--- a/src/libs6/s6-ftrigrd.c
+++ b/src/libs6/s6-ftrigrd.c
@@ -166,7 +166,7 @@ static int parse_protocol (unixmessage_t const *m, void *context)
answer(errno) ;
break ;
}
- if (!buffer_init(&buffer_read, f.fd, f.buf, FTRIGRD_BUFSIZE))
+ if (!buffer_init(&buffer_read, f.trig.fd, f.buf, FTRIGRD_BUFSIZE))
{
ftrigio_deepfree(&f) ;
answer(errno) ;