summaryrefslogtreecommitdiffhomepage
path: root/archival
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-09-09 11:20:55 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-09-09 11:20:55 +0000
commitbf8fcaceb7a9eb23db94ecb20f24291c4a959eca (patch)
tree4af9ac25d24f0837f2d63b7057b0071247c1e32c /archival
parent4d7605af86644861faf0f3a95b7bf36865bf2a90 (diff)
open_transformer: fix vda's goofup
Diffstat (limited to 'archival')
-rw-r--r--archival/libunarchive/open_transformer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/archival/libunarchive/open_transformer.c b/archival/libunarchive/open_transformer.c
index f8f587e8d..355613a67 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 */
}