X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=innduct.git;a=blobdiff_plain;f=filemon.c;h=a293fe85e7d3e0bfd1a4ab9b04ec0a299f142c1d;hp=df0606b7b8b70900f41df44a9f3897bfa97aaec7;hb=f4263fc2c4f6aa79455f6c8252606b17daf5aa7d;hpb=fdffbf24083becad90bf829ee03b9f87dbcd9142 diff --git a/filemon.c b/filemon.c index df0606b..a293fe8 100644 --- a/filemon.c +++ b/filemon.c @@ -83,7 +83,7 @@ static void *filemon_inotify_readable(oop_source *lp, int fd, * 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: @@ -98,13 +98,13 @@ int filemon_method_init(void) { 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; } @@ -127,7 +127,7 @@ void filemon_method_dump_info(FILE *f) { 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) { }