diff options
| -rw-r--r-- | man7/fanotify.7 | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/man7/fanotify.7 b/man7/fanotify.7 index a4c522bd28..3c49623a1f 100644 --- a/man7/fanotify.7 +++ b/man7/fanotify.7 @@ -759,7 +759,8 @@ Listening for events stopped. .EX # ./fanotify_fid /home/user Listening for events. -FAN_CREATE (file created): Directory /home/user has been modified. +FAN_CREATE (file created): + Directory /home/user has been modified. All events processed successfully. Program exiting. $ touch /home/user/testing @@ -768,7 +769,8 @@ $ touch /home/user/testing # ./fanotify_fid /home/user Listening for events. -FAN_CREATE | FAN_ONDIR (subdirectory created): Directory /home/user has been modified. +FAN_CREATE | FAN_ONDIR (subdirectory created): + Directory /home/user has been modified. All events processed successfully. Program exiting. $ mkdir \-p /home/user/testing @@ -1051,10 +1053,10 @@ main(int argc, char **argv) } if (metadata->mask == FAN_CREATE) - printf("FAN_CREATE (file created): "); + printf("FAN_CREATE (file created):"); if (metadata->mask == FAN_CREATE | FAN_ONDIR) - printf("FAN_CREATE | FAN_ONDIR (subdirectory created): "); + printf("FAN_CREATE | FAN_ONDIR (subdirectory created):"); /* metadata->fd is set to FAN_NOFD when FAN_REPORT_FID is enabled. To obtain a file descriptor for the file object corresponding to @@ -1088,7 +1090,7 @@ main(int argc, char **argv) } path[path_len] = \(aq\e\0\(aq; - printf("Directory \(aq%s\(aq has been modified.\e\n", path); + printf("\etDirectory \(aq%s\(aq has been modified.\e\n", path); /* Close associated file descriptor for this event */ |
