Another minor issue noted as a TODO.

This commit is contained in:
Andrew Wood
2025-09-27 18:32:27 +01:00
parent 8ae549c47f
commit 77ed2e5989
+1
View File
@@ -648,6 +648,7 @@ int pv_watchfd_loop(pvstate_t state)
if (NULL == original_format_string) {
(void) pv_snprintf(new_format_string, sizeof(new_format_string), "%%N");
} else if (NULL == strstr(original_format_string, "%N")) {
/* TODO: also check for %{name} as well as %N. */
(void) pv_snprintf(new_format_string, sizeof(new_format_string), "%%N %s",
original_format_string);
} else {