{
FILE *fp;
- NEED_ROOT (-1);
+ NEED_ROOT (return -1);
if (max_events < 0) {
reply_with_error ("inotify_init: max_events < 0");
}
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) {