* unexpected random watch events as normal. It's not a
* correctness problem as the watch is just a prod to read a file,
* which is harmless if it does not need to be read. */
- dbg("inotify read event on unknown wd=%d", iev.wd);
+ dbg("filemon inotify: read event with unknown wd=%d", iev.wd);
continue;
found:
LIST_INIT(filemon_inotify_watches);
filemon_inotify_fd= inotify_init();
if (filemon_inotify_fd<0) {
- syswarn("filemon/inotify: inotify_init failed");
+ syswarn("filemon inotify: inotify_init failed");
return 0;
}
xsetnonblock(filemon_inotify_fd, 1);
loop->on_fd(loop, filemon_inotify_fd, OOP_READ, filemon_inotify_readable, 0);
- dbg("filemon inotify init filemon_inotify_fd=%d", filemon_inotify_fd);
+ dbg("filemon inotify: init filemon_inotify_fd=%d", filemon_inotify_fd);
return 1;
}
struct Filemon_Perfile { int dummy; };
int filemon_method_init(void) {
- warn("filemon/dummy: no filemon method compiled in");
+ warn("filemon dummy: no filemon method compiled in");
return 0;
}
static void filemon_method_startfile(InputFile *ipf, Filemon_Perfile *pf) { }