open_transformer: fix vda's goofup

This commit is contained in:
Denis Vlasenko 2007-09-09 11:20:55 +00:00
parent 4d7605af86
commit bf8fcaceb7

View 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 */
}