]> git.ipfire.org Git - people/ric9/pakfire.git/commitdiff
build: Fix order of arguments to set the arch
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 6 Jan 2025 21:40:26 +0000 (21:40 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 6 Jan 2025 21:40:26 +0000 (21:40 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/build.c

index f617f0b2a9763770f43cb4c8a936c10fc4aee765..47451bdcb3bb3a344188dd26ac9e12d5a4a77ef1 100644 (file)
@@ -2009,7 +2009,7 @@ static int pakfire_build_setup_pakfire(
                flags |= PAKFIRE_USE_SNAPSHOT;
 
        // Create a new Pakfire instance
-       r = pakfire_create(&build->pakfire, build->ctx, config, arch, NULL, flags);
+       r = pakfire_create(&build->pakfire, build->ctx, config, NULL, arch, flags);
        if (r < 0)
                return r;