Include the control filename in the error message when a SIGUSR2 is received and the control file cannot be opened.

This commit is contained in:
Andrew Wood
2024-12-01 01:10:47 +00:00
parent b783e5fa63
commit c3fae61dda
+1 -1
View File
@@ -331,7 +331,7 @@ void pv_remote_check(pvstate_t state)
memset(control_filename, 0, sizeof(control_filename));
control_fptr = pv__control_file(control_filename, sizeof(control_filename), signal_sender, false);
if (NULL == control_fptr) {
pv_error(state, "%s", strerror(errno));
pv_error(state, "%s: %s", control_filename, strerror(errno));
return;
}