summaryrefslogtreecommitdiff
path: root/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'open.c')
-rw-r--r--open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/open.c b/open.c
index 68b1a91..2b2fb81 100644
--- a/open.c
+++ b/open.c
@@ -27,7 +27,7 @@ extern int rc_open(const char *name, redirtype m) {
/* make a file descriptor non blocking. must only be called after read()
has returned EAGAIN. */
-extern void makenonblock(int fd) {
+extern void makeblocking(int fd) {
int flags;
if ((flags = fcntl(fd, F_GETFL)) == -1) {