summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/sys/flock.22
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/sys/flock.2 b/lib/libc/sys/flock.2
index 394aab09a1e..685046e77f3 100644
--- a/lib/libc/sys/flock.2
+++ b/lib/libc/sys/flock.2
@@ -40,7 +40,7 @@
.Nm flock
.Nd "apply or remove an advisory lock on an open file"
.Sh SYNOPSIS
-.Fd #include <sys/file.h>
+.Fd #include <fcntl.h>
.Fd #define LOCK_SH 1 /* shared lock */
.Fd #define LOCK_EX 2 /* exclusive lock */