Skip to content

Commit

Permalink
Fix messages and typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jjnicola committed Aug 9, 2021
1 parent 0dbce72 commit 61c76a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/attack.c
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ attack_host (struct scan_globals *globals, struct in6_addr *ip, GSList *vhosts,
else if (e == ERR_NO_FREE_SLOT)
{
g_debug (
"fork() failed for %s. Not free slot to run a plugin.",
"fork() failed for %s. No free slot to run a plugin.",
plugin->oid);
goto again;
}
Expand Down
8 changes: 4 additions & 4 deletions src/pluginlaunch.c
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,9 @@ plugin_launch (struct scan_globals *globals, struct scheduler_plugin *plugin,
p = next_free_process (main_kb, plugin);
if (p < 0)
{
g_debug ("There are currently no free slot for running a new plugins, "
"probably because the parallel check is temporally disabled. "
"Current parallel checks: %d. Old parallel checks: %d",
g_debug ("There is currently no free slot available for starting a new "
"plugin, probably because the parallel check is temporarily "
"disabled. Current parallel checks: %d. Old parallel checks: %d",
max_running_processes, old_max_running_processes);
usleep (250000);
return ERR_NO_FREE_SLOT;
Expand Down Expand Up @@ -473,7 +473,7 @@ pluginlaunch_wait_for_free_process (kb_t kb)
if (num_running_processes >= max_running_processes)
g_debug ("%s. Number of running processes >= maximum running processes (%d "
">= %d). "
"Waitting for free slot for processes.",
"Waiting for free slot for processes.",
__func__, num_running_processes, max_running_processes);

while (
Expand Down

0 comments on commit 61c76a4

Please sign in to comment.