open_transformer: fix vda's goofup
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Sun, 9 Sep 2007 11:20:55 +0000 (11:20 +0000)
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Sun, 9 Sep 2007 11:20:55 +0000 (11:20 +0000)
git-svn-id: svn://busybox.net/trunk/busybox@19806 69ca8d6d-28ef-0310-b511-8ec308f3f277

archival/libunarchive/open_transformer.c

index f8f587e..355613a 100644 (file)
@@ -46,8 +46,9 @@ int open_transformer(int src_fd,
                xmove_fd(src_fd, 0);
                xmove_fd(fd_pipe[1], 1);
                va_start(ap, transform_prog);
-               BB_EXECVP(transform_prog, ap);
-               bb_perror_and_die("exec failed");
+               /* hoping that va_list -> char** on our CPU is working... */
+               BB_EXECVP(transform_prog, (void*)ap);
+               bb_perror_msg_and_die("exec failed");
 #endif
                /* notreached */
        }