diff options
-rw-r--r-- | archival/tar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/tar.c b/archival/tar.c index 06851e854..acc8d54f9 100644 --- a/archival/tar.c +++ b/archival/tar.c | |||
@@ -687,7 +687,7 @@ int tar_main(int argc, char **argv) | |||
687 | } | 687 | } |
688 | #endif | 688 | #endif |
689 | #ifdef CONFIG_FEATURE_TAR_BZIP2 | 689 | #ifdef CONFIG_FEATURE_TAR_BZIP2 |
690 | if(opt & TAR_OPT_GZIP) { | 690 | if(opt & TAR_OPT_BZIP2) { |
691 | get_header_ptr = get_header_tar_bz2; | 691 | get_header_ptr = get_header_tar_bz2; |
692 | } | 692 | } |
693 | #endif | 693 | #endif |