X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Finotify.c;h=96b96815dd1478512c3c18f46f602bb9bfde6fae;hb=6bda071b5cd8393b37653687027c4ae6c6cf3804;hp=2f22f52c8b646ec3fa2542e094e0048ab07ffa30;hpb=0c07f0d23698798475e0d09491812aca52440328;p=libguestfs.git diff --git a/daemon/inotify.c b/daemon/inotify.c index 2f22f52..96b9681 100644 --- a/daemon/inotify.c +++ b/daemon/inotify.c @@ -51,7 +51,7 @@ do_inotify_init (int max_events) { FILE *fp; - NEED_ROOT (-1); + NEED_ROOT (return -1); if (max_events < 0) { reply_with_error ("inotify_init: max_events < 0");