summaryrefslogtreecommitdiff
path: root/rpmbuild.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpmbuild.c')
-rw-r--r--rpmbuild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmbuild.c b/rpmbuild.c
index fe604bac9..a8b6b80e5 100644
--- a/rpmbuild.c
+++ b/rpmbuild.c
@@ -472,7 +472,7 @@ static int buildForTarget(rpmts ts, const char * arg, BTA_t ba)
goto exit;
}
- if (rpmSpecBuild(ba, spec)) {
+ if (rpmSpecBuild(spec, ba)) {
goto exit;
}