X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Finotify.c;h=8e8b690fbb3a65ca081af166057a82c1e142dc23;hb=dfd7efb91fb3120937c4780fee943abd0351c20e;hp=d5a5a73ef3dce7c3b29490a5408510d276a5648c;hpb=dc706a639eec16084c0618baf7bfde00c6565f63;p=libguestfs.git diff --git a/daemon/inotify.c b/daemon/inotify.c index d5a5a73..8e8b690 100644 --- a/daemon/inotify.c +++ b/daemon/inotify.c @@ -28,7 +28,7 @@ #include #endif -#include "../src/guestfs_protocol.h" +#include "guestfs_protocol.h" #include "daemon.h" #include "actions.h" #include "optgroups.h" @@ -70,7 +70,7 @@ do_inotify_init (int max_events) #ifdef HAVE_SYS_INOTIFY_H FILE *fp; - NEED_ROOT (0, return -1); + NEED_ROOT (, return -1); if (max_events < 0) { reply_with_error ("max_events < 0");