summaryrefslogtreecommitdiff
path: root/cfgdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'cfgdir.c')
-rw-r--r--cfgdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cfgdir.c b/cfgdir.c
index 7e5022b..85646bc 100644
--- a/cfgdir.c
+++ b/cfgdir.c
@@ -360,7 +360,7 @@ inotify_cb(struct cfg *cfg, struct uring_task *task, int res)
for (ptr = iev->buf; ptr < iev->buf + res; ptr += sizeof(struct inotify_event) + event->len) {
event = (const struct inotify_event *)ptr;
- if (debuglvl > 0)
+ if (debug_enabled(DBG_CFG))
inotify_event_dump(event);
if (event->mask & (IN_IGNORED | IN_MOVE_SELF | IN_DELETE_SELF | IN_UNMOUNT))