summaryrefslogtreecommitdiff
path: root/src/libstddjb/openreadnclose.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/openreadnclose.c')
-rw-r--r--src/libstddjb/openreadnclose.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstddjb/openreadnclose.c b/src/libstddjb/openreadnclose.c
index 0853c87..4466796 100644
--- a/src/libstddjb/openreadnclose.c
+++ b/src/libstddjb/openreadnclose.c
@@ -22,12 +22,12 @@ static ssize_t readnclose (int fd, char *s, size_t n)
ssize_t openreadnclose (char const *file, char *s, size_t n)
{
- int fd = openb_readcoe(file) ;
+ int fd = openbc_read(file) ;
return fd < 0 ? fd : readnclose(fd, s, n) ;
}
ssize_t openreadnclose_nb (char const *file, char *s, size_t n)
{
- int fd = open_readcoe(file) ;
+ int fd = openc_read(file) ;
return fd < 0 ? fd : readnclose(fd, s, n) ;
}