tar: support -T - and -X -
[oweals/busybox.git] / miscutils / bbconfig.c
index 28607716806d8bcb5b56d4d717dd75f2c8bcc451..7c30669a33635eb824eed9f89cbc9f5486ef0a10 100644 (file)
@@ -4,7 +4,7 @@
 #include "libbb.h"
 #include "bbconfigopts.h"
 #if ENABLE_FEATURE_COMPRESS_BBCONFIG
-# include "unarchive.h"
+# include "archive.h"
 # include "bbconfigopts_bz2.h"
 #endif
 
@@ -15,7 +15,7 @@ int bbconfig_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
        bunzip_data *bd;
        int i = start_bunzip(&bd,
                        /* src_fd: */ -1,
-                       /* inbuf:  */ (void *)bbconfig_config_bz2,
+                       /* inbuf:  */ bbconfig_config_bz2,
                        /* len:    */ sizeof(bbconfig_config_bz2));
        /* read_bunzip can longjmp to start_bunzip, and ultimately
         * end up here with i != 0 on read data errors! Not trivial */