On 11/20/18 5:54 PM, Anthony Iliopoulos wrote: > Use "FAN_OPEN_PERM" consistently rather than "FAN_PERM_OPEN". > > Signed-off-by: Anthony Iliopoulos <ailiopoulos@xxxxxxxx> Thanks, Anthony. Patch applied. Cheers, Michael > --- > man7/fanotify.7 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/man7/fanotify.7 b/man7/fanotify.7 > index 0c417c07e..00e080522 100644 > --- a/man7/fanotify.7 > +++ b/man7/fanotify.7 > @@ -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. > It marks the mount point passed as a command-line argument > and waits for events of type > -.B FAN_PERM_OPEN > +.B FAN_OPEN_PERM > and > .BR FAN_CLOSE_WRITE . > When a permission event occurs, a > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/