From 9eeffbeab84e71bd0a4cc0855cb1f72ad1849ba6 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Tue, 16 Jun 2020 13:15:33 +0200 Subject: Some more debug cleanups --- cfgdir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cfgdir.c') diff --git a/cfgdir.c b/cfgdir.c index 85646bc..3d5c2f7 100644 --- a/cfgdir.c +++ b/cfgdir.c @@ -291,7 +291,7 @@ inotify_free(struct uring_task *task) fprintf(stderr, "%s called\n", __func__); if (!iev || !cfg) - die("%s: iev or cfg is NULL!?\n", __func__); + die("iev or cfg is NULL!?"); xfree(iev); cfg->iev = NULL; @@ -364,7 +364,7 @@ inotify_cb(struct cfg *cfg, struct uring_task *task, int res) inotify_event_dump(event); if (event->mask & (IN_IGNORED | IN_MOVE_SELF | IN_DELETE_SELF | IN_UNMOUNT)) - die("Configuration directory gone, exiting\n"); + die("Configuration directory gone, exiting"); if (event->mask & IN_Q_OVERFLOW) { error("inotify queue overflow!\n"); -- cgit v1.2.3