diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c index 3ddbe6f..4462d2f 100644 --- a/src/logic/slbt_exec_link.c +++ b/src/logic/slbt_exec_link.c @@ -170,7 +170,7 @@ int slbt_exec_link( } /* hey, yo, let's rap it up */ - if (!(fout = fopen(ectx->ltobjname,"w"))) { + if (!(fout = fopen(output,"w"))) { slbt_free_exec_ctx(actx); return -1; }