summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/s6-rc/s6-rc-update.c2
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 ;