summaryrefslogtreecommitdiffhomepage
path: root/src/helper/slbt_copy_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper/slbt_copy_file.c')
-rw-r--r--src/helper/slbt_copy_file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/helper/slbt_copy_file.c b/src/helper/slbt_copy_file.c
index c74ffcc..e9abee5 100644
--- a/src/helper/slbt_copy_file.c
+++ b/src/helper/slbt_copy_file.c
@@ -1,3 +1,4 @@
+
/*******************************************************************/
/* slibtool: a skinny libtool implementation, written in C */
/* Copyright (C) 2016--2018 Z. Gilboa */
@@ -55,7 +56,7 @@ int slbt_copy_file(
/* dlltool spawn */
ret = ((slbt_spawn(ectx,true) < 0) || ectx->exitcode)
- ? SLBT_SYSTEM_ERROR(dctx) : 0;
+ ? SLBT_SYSTEM_ERROR(dctx,0) : 0;
ectx->argv = oargv;
ectx->program = oprogram;