installer: Fix recently introduced format / argument breakage.
authorSascha Wildner <saw@online.de>
Thu, 9 Jan 2014 08:33:39 +0000 (09:33 +0100)
committerSascha Wildner <saw@online.de>
Thu, 9 Jan 2014 08:33:39 +0000 (09:33 +0100)
It's __printflike(1, 3) but I treated it like __printflike(1, 2) in
9462167aa18776bf92c161a3c65740189ffe8912.

Reported-by: Joe White <hybris246@gmail.com>
usr.sbin/installer/libinstaller/commands.c

index 0a70e1f..59d62ec 100644 (file)
@@ -296,7 +296,7 @@ pipe_loop(struct i_fn_args *a, struct dfui_progress *pr,
 
        asprintf(&command, "(%s) 2>&1 </dev/null", cmd->cmdline);
        fflush(stdout);
-       cmdout = aura_popen("%s", command, "r");
+       cmdout = aura_popen("%s", "r", command);
        free(command);
 
        if (cmdout == NULL) {