summaryrefslogtreecommitdiff
path: root/src/fs_event
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs_event')
-rw-r--r--src/fs_event/fs_event_inotify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs_event/fs_event_inotify.c b/src/fs_event/fs_event_inotify.c
index a70550a..e0c48fa 100644
--- a/src/fs_event/fs_event_inotify.c
+++ b/src/fs_event/fs_event_inotify.c
@@ -37,7 +37,7 @@ bool nn_fs_event_start(struct nn_fs_event *fs, struct nn_event_loop *loop)
fs->loop = loop;
fs->wd = inotify_add_watch(fs->fd, fs->path, fs->mask);
if (fs->wd == -1) {
- error("inotify_add_watch(%s) failed (%s).", fs->path, nn_strerror(errno));
+ log_error("inotify_add_watch(%s) failed (%s).", fs->path, nn_strerror(errno));
return false;
}
ev_io_start(fs->loop->ev, &fs->event);