* src/generator.ml: Change all `String "device"' to `Device "device"'.
[libguestfs.git] / daemon / inotify.c
index 8bb8ed2..2f22f52 100644 (file)
@@ -129,7 +129,7 @@ do_inotify_add_watch (char *path, int mask)
   char *buf;
 
   NEED_INOTIFY (-1);
-  ABS_PATH (path, -1);
+  ABS_PATH (path, return -1);
 
   buf = sysroot_path (path);
   if (!buf) {