Skip to content

Commit

Permalink
core: improve error message for process event listen
Browse files Browse the repository at this point in the history
Signed-off-by: Quentin Armitage <[email protected]>
  • Loading branch information
pqarmitage committed Jul 1, 2024
1 parent 1e3d47e commit 223d097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keepalived/core/track_process.c
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ static int set_proc_ev_listen(int nl_sd, bool enable)

rc = send(nl_sd, &nlcn_msg, sizeof(nlcn_msg), 0);
if (rc == -1) {
log_message(LOG_INFO, "Failed to set/clear process event listen - errno %d - %m", errno);
log_message(LOG_INFO, "Failed to %s process event listen - errno %d - %m", enable ? "set" : "clear", errno);
return -1;
}

Expand Down

0 comments on commit 223d097

Please sign in to comment.