From bf8fcaceb7a9eb23db94ecb20f24291c4a959eca Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 9 Sep 2007 11:20:55 +0000 Subject: open_transformer: fix vda's goofup --- archival/libunarchive/open_transformer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'archival/libunarchive') diff --git a/archival/libunarchive/open_transformer.c b/archival/libunarchive/open_transformer.c index f8f587e..355613a 100644 --- a/archival/libunarchive/open_transformer.c +++ b/archival/libunarchive/open_transformer.c @@ -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 */ } -- cgit v1.1