fanotify.7: wfix

Use "FAN_OPEN_PERM" consistently rather than "FAN_PERM_OPEN".

Signed-off-by: Anthony Iliopoulos <ailiopoulos@suse.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Anthony Iliopoulos 2018-11-20 17:54:31 +01:00 committed by Michael Kerrisk
parent 63e59e0d31
commit 6684e3e4ff
1 changed files with 1 additions and 1 deletions

View File

@ -530,7 +530,7 @@ Thus, the reading application has no way to detect the error.
The following program demonstrates the usage of the fanotify API. The following program demonstrates the usage of the fanotify API.
It marks the mount point passed as a command-line argument It marks the mount point passed as a command-line argument
and waits for events of type and waits for events of type
.B FAN_PERM_OPEN .B FAN_OPEN_PERM
and and
.BR FAN_CLOSE_WRITE . .BR FAN_CLOSE_WRITE .
When a permission event occurs, a When a permission event occurs, a