diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-09-02 14:39:11 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-09-02 14:39:11 +0300 |
commit | 4505fb312dac0c1e186687a790a81a9c9285a7f4 (patch) | |
tree | c9ec17125fa668ae203efc332b2ccc0108f4bf28 /rpmbuild.c | |
parent | 6fcc1adf9ed140eec75aeba2a72e0bcc5419b43b (diff) | |
download | rpm-4505fb312dac0c1e186687a790a81a9c9285a7f4.tar.gz |
Swap rpmSpecBuild() arguments for consistency with other APIs
- What we're building comes first, /how/ we're building comes second
- Update the sole caller, doesn't matter as this is a new interface...
Diffstat (limited to 'rpmbuild.c')
-rw-r--r-- | rpmbuild.c | 2 |
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; } |