diff options
author | David Härdeman <david@hardeman.nu> | 2020-06-16 11:22:46 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-06-16 11:22:46 +0200 |
commit | cab7429706aa6fce9d217ba6c5e3b6e5557914d5 (patch) | |
tree | 5f718ffb09cabf720ea19fedccac9e3ba087f8e9 /cfgdir.c | |
parent | 18a5dcf9ef6f9bde77326bb363ec61bbf6b5e587 (diff) |
Cleanup debugging macros a bit
Diffstat (limited to 'cfgdir.c')
-rw-r--r-- | cfgdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |