summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-06 21:34:08 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-06 21:34:08 +0000
commit08d0b91662aa0e9a5551258edc30ff7a9fad4dde (patch)
tree006bca6ab5f54717e534fe20c687368b5da85950
parent1226738d055f564318a8c94eb7e3b44c0e799093 (diff)
downloads6-08d0b91662aa0e9a5551258edc30ff7a9fad4dde.tar.xz
someday I'll test BEFORE committing
-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 50ced0f..a46b0ec 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.trig.fd, f.buf, FTRIGRD_BUFSIZE))
+ if (!buffer_init(&f.b, &buffer_read, f.trig.fd, f.buf, FTRIGRD_BUFSIZE))
{
ftrigio_deepfree(&f) ;
answer(errno) ;