X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Finotify.c;h=8e8b690fbb3a65ca081af166057a82c1e142dc23;hb=79f5720d2ccab820c90b7516f3fbf5e3dcbe9c8f;hp=ec3aa64f92fff7d380e523a70cdd06ac7f6941f7;hpb=e9c37113104c1cfb234535adc9b52ad3880a41ce;p=libguestfs.git diff --git a/daemon/inotify.c b/daemon/inotify.c index ec3aa64..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 (return -1); + NEED_ROOT (, return -1); if (max_events < 0) { reply_with_error ("max_events < 0");