diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2018-03-01 12:56:21 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2018-03-01 12:56:21 +0000 |
commit | bf0eec8f611dc7e8f0ec32dc725d2f72215a8dbb (patch) | |
tree | a828a0c0cdfb516a78c84c70dceadcdd41b40400 /src | |
parent | d809751133ebadd756348e177255680285ea91a6 (diff) | |
download | s6-rc-bf0eec8f611dc7e8f0ec32dc725d2f72215a8dbb.tar.xz |
Add openb_read workaround, prepare for 0.4.0.1
Diffstat (limited to 'src')
-rw-r--r-- | src/s6-rc/s6-rc-update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s6-rc/s6-rc-update.c b/src/s6-rc/s6-rc-update.c index 2c7ba9d..942db3c 100644 --- a/src/s6-rc/s6-rc-update.c +++ b/src/s6-rc/s6-rc-update.c @@ -115,7 +115,7 @@ static inline void parse_line (stralloc *sa, char const *s, size_t slen, unsigne static inline void parse_conversion_file (char const *convfile, stralloc *sa, unsigned int *newnames, unsigned char *oldstate, cdb_t *oldc, s6rc_db_t const *olddb) { - int fd = open_readb(convfile) ; + int fd = openb_read(convfile) ; char buf[4096] ; buffer b = BUFFER_INIT(&buffer_read, fd, buf, 4096) ; size_t base = satmp.len ; |