summaryrefslogtreecommitdiff
path: root/src/util/slbt_copy_file.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-20 17:29:18 +0000
committermidipix <writeonce@midipix.org>2024-02-20 17:29:18 +0000
commit33a569a279a1c0acbf06fe6622866bd79f111685 (patch)
tree0fafd5353e258d17b127bbd468076ee0150cc609 /src/util/slbt_copy_file.c
parentd577a3308c18cb3b8d5fc46fc5fcf8a8fb8ad1a5 (diff)
downloadslibtool-33a569a279a1c0acbf06fe6622866bd79f111685.tar.bz2
slibtool-33a569a279a1c0acbf06fe6622866bd79f111685.tar.xz
utility api's: _output_ namespace: simplified the execution context interfaces.
Diffstat (limited to 'src/util/slbt_copy_file.c')
-rw-r--r--src/util/slbt_copy_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/slbt_copy_file.c b/src/util/slbt_copy_file.c
index 30d3f03..e6868de 100644
--- a/src/util/slbt_copy_file.c
+++ b/src/util/slbt_copy_file.c
@@ -44,13 +44,13 @@ int slbt_util_copy_file(
/* step output */
if (!(dctx->cctx->drvflags & SLBT_DRIVER_SILENT)) {
if (dctx->cctx->mode == SLBT_MODE_LINK) {
- if (slbt_output_link(dctx,ectx)) {
+ if (slbt_output_link(ectx)) {
ectx->argv = oargv;
ectx->program = oprogram;
return SLBT_NESTED_ERROR(dctx);
}
} else {
- if (slbt_output_install(dctx,ectx)) {
+ if (slbt_output_install(ectx)) {
ectx->argv = oargv;
ectx->program = oprogram;
return SLBT_NESTED_ERROR(dctx);