conf-files: include the expected suffix in the 'unexpected suffix' debug message.

This commit is contained in:
Alexis-Emmanuel Haeringer
2025-12-13 11:46:37 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent 7524671f74
commit 595d88cdc8
+1 -1
View File
@@ -239,7 +239,7 @@ static int files_add(
/* Does this match the suffix? */
if (suffix && !endswith(de->d_name, suffix)) {
log_debug("Skipping file '%s/%s' with unexpected suffix.", root, skip_leading_slash(original_path));
log_debug("Skipping file '%s/%s', suffix is not '%s'.", root, skip_leading_slash(original_path), suffix);
continue;
}