summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/mdso_create_implib_archive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/mdso_create_implib_archive.c b/src/util/mdso_create_implib_archive.c
index 27f82e7..e5e5d01 100644
--- a/src/util/mdso_create_implib_archive.c
+++ b/src/util/mdso_create_implib_archive.c
@@ -59,7 +59,7 @@ int mdso_create_implib_archive(const struct mdso_driver_ctx * dctx)
return MDSO_NESTED_ERROR(dctx);
for (puctx=uctxv,unit=dctx->units; *unit; unit++) {
- if (mdso_get_unit_ctx(dctx,*unit,puctx)) {
+ if (mdso_get_unit_ctx(dctx,*unit,puctx++)) {
mdso_free_uctx_vector(uctxv,0,0,fout);
return MDSO_NESTED_ERROR(dctx);
}