commit 9694ba357135dfabe794d4e47c0e676ee9fbbdf0
parent e5ce4d46a667ade7fc70dbf71579f7c4029943c7
Author: z3bra <willy@mailoo.org>
Date: Sun, 16 Feb 2014 22:11:56 +0100
Added 3 more events to list_events
Diffstat:
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/wendy.c b/wendy.c
@@ -64,7 +64,9 @@ list_events()
"IN_CREATE ........ %u\n"
"IN_DELETE ........ %u\n"
"IN_DELETE_SELF ... %u\n"
- "IN_MOVE_SELF ..... %u\n",
+ "IN_MOVE_SELF ..... %u\n"
+ "IN_ALL_EVENTS .... %u\n"
+ "IN_UNMOUNT ....... %u\n",
IN_ACCESS,
IN_MODIFY,
IN_ATTRIB,
@@ -76,7 +78,9 @@ list_events()
IN_CREATE,
IN_DELETE,
IN_DELETE_SELF,
- IN_MOVE_SELF
+ IN_MOVE_SELF,
+ IN_ALL_EVENTS,
+ IN_UNMOUNT
);
exit(0);
}
@@ -160,7 +164,7 @@ add_watch:
ev = (struct inotify_event *) &buf[i];
if (ev->mask & IN_IGNORED) {
- printf("File watch removed. Recreating inotify watch\n");
+ printf("watch removed, attemting to create another\n");
goto add_watch;
}