From e4373799390dfccde412dedee655c92171041472 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sat, 20 Mar 2021 14:39:49 +0100 Subject: [PATCH] Minor, style/clarify debug messages Signed-off-by: Joachim Wiberg --- src/conf.c | 2 +- src/iwatch.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/conf.c b/src/conf.c index 2ea218b9..e40e84b7 100644 --- a/src/conf.c +++ b/src/conf.c @@ -687,7 +687,7 @@ int conf_reload(void) /* Check that file ends with '.conf' */ len = strlen(path); if (len < 6 || strcmp(&path[len - 5], ".conf")) - _d("Skipping %s, not a valid .conf ... ", path); + _d("Skipping %s, not a Finit .conf file ... ", path); else parse_conf(path, 1); diff --git a/src/iwatch.c b/src/iwatch.c index 5d183a8f..afeb57d3 100644 --- a/src/iwatch.c +++ b/src/iwatch.c @@ -81,10 +81,10 @@ int iwatch_add(struct iwatch *iw, char *file, uint32_t mask) return -1; if (!fexist(file)) { - _d("No such file or directory, skipping %s", file); + _d("skipping %s: no such file or directory", file); return 0; } - _d("Adding new watcher for path %s", file); + _d("adding new watcher for path %s", file); path = strdup(file); if (!path) {