diff --git a/man7/inotify.7 b/man7/inotify.7 index 6579a590a..17462c642 100644 --- a/man7/inotify.7 +++ b/man7/inotify.7 @@ -416,13 +416,13 @@ and Suppose an application is watching the directories .I dir1 and -.IR dir , +.IR dir2 , and the file .IR dir1/myfile . The following examples show some events that may be generated. .RS 4 .TP -link("dir/myfile", "dir2/new"); +link("dir1/myfile", "dir2/new"); Generates an .B IN_ATTRIB event for @@ -469,7 +469,7 @@ the following events: .RS 4 .TP unlink("dir2/yy"); -Generates +Generates an .BR IN_ATTRIB event for .IR xx @@ -489,7 +489,7 @@ events for .IR xx , and an .BR IN_DELETE -for +event for .IR dir1 . .RE .PP @@ -506,7 +506,7 @@ Generates an event for .IR dir . .TP -rmdir("dir/sub"); +rmdir("dir/subdir"); Generates .B IN_DELETE_SELF and