aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-11-14 22:15:09 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-11-15 10:45:56 +0100
commit8faba2435b74e386245d9d9128796774b72ac081 (patch)
treeabf08f9934b5612545a664dcca95a48fc1ae4163
parent3890042031c490963b1f1dee4a62b992567ca6d7 (diff)
downloadman-pages-8faba2435b74e386245d9d9128796774b72ac081.tar.gz
openat.2: Fix include path, should be linux/openat2.h
The include path is linux/openat2, so fix the manual to reference this correct path. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/openat2.22
1 files changed, 1 insertions, 1 deletions
diff --git a/man2/openat2.2 b/man2/openat2.2
index e2d93793e2..3bda206205 100644
--- a/man2/openat2.2
+++ b/man2/openat2.2
@@ -29,7 +29,7 @@ openat2 \- open and possibly create a file (extended)
.B #include <sys/types.h>
.B #include <sys/stat.h>
.B #include <fcntl.h>
-.B #include <openat2.h>
+.B #include <linux/openat2.h>
.PP
.BI "long openat2(int " dirfd ", const char *" pathname ,
.BI " struct open_how *" how ", size_t " size );