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>
This commit is contained in:
Colin Ian King 2020-11-14 22:15:09 +00:00 committed by Michael Kerrisk
parent 3890042031
commit 8faba2435b
1 changed files with 1 additions and 1 deletions

View File

@ -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 );