summaryrefslogtreecommitdiff
path: root/src/helper
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/mdso_create_output.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/helper/mdso_create_output.c b/src/helper/mdso_create_output.c
index f94524b..24ed757 100644
--- a/src/helper/mdso_create_output.c
+++ b/src/helper/mdso_create_output.c
@@ -58,13 +58,13 @@ FILE * mdso_create_archive(
return mdso_create_output_stream(dctx,arname);
}
-FILE * mdso_create_asmsrc(
+int mdso_create_asmsrc(
const struct mdso_driver_ctx * dctx,
const char * asmname)
{
return dctx->cctx->dstdir
- ? mdso_create_output_stream(dctx,asmname)
- : stdout;
+ ? mdso_create_output(dctx,asmname)
+ : mdso_driver_fdout(dctx);
}
FILE * mdso_create_object(