fanotify.7, inotify.7: wfix: Tweak location of tag comments

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-12-27 11:15:08 +01:00
parent 46b20ca1bb
commit a8114045ab
2 changed files with 4 additions and 12 deletions

View File

@ -937,14 +937,10 @@ main(int argc, char *argv[])
nfds = 2;
/* Console input */
fds[0].fd = STDIN_FILENO;
fds[0].fd = STDIN_FILENO; /* Console input */
fds[0].events = POLLIN;
/* Fanotify input */
fds[1].fd = fd;
fds[1].fd = fd; /* Fanotify input */
fds[1].events = POLLIN;
/* This is the loop to wait for incoming events. */

View File

@ -1053,14 +1053,10 @@ main(int argc, char* argv[])
nfds = 2;
/* Console input */
fds[0].fd = STDIN_FILENO;
fds[0].fd = STDIN_FILENO; /* Console input */
fds[0].events = POLLIN;
/* Inotify input */
fds[1].fd = fd;
fds[1].fd = fd; /* Inotify input */
fds[1].events = POLLIN;
/* Wait for events and/or terminal input. */