X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Finotify.c;h=807fb2f59aee2310d07f64d4ada2c39e7f6f7ddb;hb=7e523077d650cfb71044d5e74aa8fe1f91c019ae;hp=104fa60bfdc9f41d37950865a61ccf0ec8f16a52;hpb=5922d7084d6b43f0a1a15b664c7082dfeaf584d0;p=libguestfs.git diff --git a/daemon/inotify.c b/daemon/inotify.c index 104fa60..807fb2f 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 (0, return -1); if (max_events < 0) { reply_with_error ("max_events < 0");