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) if (rc && (errno == EAGAIN)) errno = EWOULDBLOCK; #else - rc = -1 + rc = -1; errno = ENOSYS; #endif