summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/helper/slbt_dump_machine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/slbt_dump_machine.c b/src/helper/slbt_dump_machine.c
index 443537d..02f281c 100644
--- a/src/helper/slbt_dump_machine.c
+++ b/src/helper/slbt_dump_machine.c
@@ -23,7 +23,7 @@ static void slbt_dump_machine_child(
char * compiler;
char * argv[3];
- if ((compiler = strchr(program,'/')))
+ if ((compiler = strrchr(program,'/')))
compiler++;
else
compiler = program;