aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archival/tar.c2
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)
}
#endif
#ifdef CONFIG_FEATURE_TAR_BZIP2
- if(opt & TAR_OPT_GZIP) {
+ if(opt & TAR_OPT_BZIP2) {
get_header_ptr = get_header_tar_bz2;
}
#endif