diff options
Diffstat (limited to 'plugins/check_procs.c')
-rw-r--r-- | plugins/check_procs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_procs.c b/plugins/check_procs.c index f6438f2..82a21eb 100644 --- a/plugins/check_procs.c +++ b/plugins/check_procs.c | |||
@@ -189,7 +189,7 @@ main (int argc, char **argv) | |||
189 | strip (procargs); | 189 | strip (procargs); |
190 | 190 | ||
191 | /* Some ps return full pathname for command. This removes path */ | 191 | /* Some ps return full pathname for command. This removes path */ |
192 | procprog = basename(procprog); | 192 | procprog = base_name(procprog); |
193 | 193 | ||
194 | /* we need to convert the elapsed time to seconds */ | 194 | /* we need to convert the elapsed time to seconds */ |
195 | procseconds = convert_to_seconds(procetime); | 195 | procseconds = convert_to_seconds(procetime); |