summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-05-12 07:25:47 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-05-12 07:25:47 +0000
commitc303b3d5a83ebd80bba2e07f533aff20f2d00f2f (patch)
tree830d00547e7960453ae8541bc819654f8f5cace2 /lib/libc
parent1f3a71a8760f1f2b47b11dc84d08163cdf1de22e (diff)
recommend fcntl.h not sys/file.h; kleink
Diffstat (limited to 'lib/libc')
-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 */