summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbsd-compat/bsd-flock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-flock.c b/openbsd-compat/bsd-flock.c
index bf4d8a658..9b15d1eaf 100644
--- a/openbsd-compat/bsd-flock.c
+++ b/openbsd-compat/bsd-flock.c
@@ -72,7 +72,7 @@ flock(int fd, int op)
72 if (rc && (errno == EAGAIN)) 72 if (rc && (errno == EAGAIN))
73 errno = EWOULDBLOCK; 73 errno = EWOULDBLOCK;
74#else 74#else
75 rc = -1 75 rc = -1;
76 errno = ENOSYS; 76 errno = ENOSYS;
77#endif 77#endif
78 78