virt-cat: Remove some unused Perl module includes.
[libguestfs.git] / daemon / inotify.c
index 96b9681..3e314f0 100644 (file)
@@ -123,13 +123,12 @@ do_inotify_close (void)
 }
 
 int64_t
-do_inotify_add_watch (char *path, int mask)
+do_inotify_add_watch (const char *path, int mask)
 {
   int64_t r;
   char *buf;
 
   NEED_INOTIFY (-1);
-  ABS_PATH (path, return -1);
 
   buf = sysroot_path (path);
   if (!buf) {