summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-06 21:22:48 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-06 21:22:48 +0000
commit1226738d055f564318a8c94eb7e3b44c0e799093 (patch)
tree844cada49a3d0b858ce448550267df4b3d92b3b2
parentc7be5adf01d8a74fd4faef4d249502e9947e9073 (diff)
downloads6-1226738d055f564318a8c94eb7e3b44c0e799093.tar.xz
typo in s6-ftrigrd
-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) ;