diff options
-rw-r--r-- | THANKS.in | 1 | ||||
-rw-r--r-- | plugins/check_procs.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -205,3 +205,4 @@ Duncan Ferguson Dick van den Burg Matthias Eble Sebastian Schubert +Jason Hoos diff --git a/plugins/check_procs.c b/plugins/check_procs.c index 2c8c3791..87f00243 100644 --- a/plugins/check_procs.c +++ b/plugins/check_procs.c @@ -193,7 +193,7 @@ main (int argc, char **argv) strip (procargs); /* Some ps return full pathname for command. This removes path */ - procprog = base_name(procprog); + strcpy(procprog, base_name(procprog)); /* we need to convert the elapsed time to seconds */ procseconds = convert_to_seconds(procetime); |