Skip to content

Commit

Permalink
Fix wording for logs in process_passive_service_check function
Browse files Browse the repository at this point in the history
  • Loading branch information
jomann09 authored and msdiamanti committed Mar 1, 2023
1 parent 5ba8581 commit e25e30c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/commands.c
Original file line number Diff line number Diff line change
Expand Up @@ -2375,10 +2375,10 @@ int process_passive_service_check(time_t check_time, char *host_name, char *svc_
/* we couldn't find the host */
if(temp_host == NULL) {
log_debug_info(DEBUGL_CHECKS, 0,
"Passive check result was received for service '%s' on host '%s', but the service could not be found!\n",
"Passive check result was received for service '%s' on host '%s', but the host could not be found!\n",
svc_description, host_name);
logit(NSLOG_RUNTIME_WARNING, TRUE,
"Warning: Passive check result was received for service '%s' on host '%s', but the service could not be found!\n",
"Warning: Passive check result was received for service '%s' on host '%s', but the host could not be found!\n",
svc_description, host_name);
return ERROR;
}
Expand Down

0 comments on commit e25e30c

Please sign in to comment.