mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 13:33:09 +07:00
Minor, style/clarify debug messages
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
+1
-1
@@ -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
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user