Minor, style/clarify debug messages

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2021-03-20 14:39:49 +01:00
parent 3ad4f6ef4b
commit e437379939
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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);
+2 -2
View File
@@ -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) {