- typos: s/compatability/compatibility/g;s/compatable/compatible/g;
diff --git a/archival/Config.in b/archival/Config.in
index 7810c35..e3f6239 100644
--- a/archival/Config.in
+++ b/archival/Config.in
@@ -189,7 +189,7 @@
If you enable this option tar will be able to call uncompress,
when extracting .tar.Z archives.
-config CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY
+config CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY
bool " Enable support for old tar header format"
default N
depends on CONFIG_TAR
diff --git a/archival/libunarchive/get_header_tar.c b/archival/libunarchive/get_header_tar.c
index 682179a..cd38f45 100644
--- a/archival/libunarchive/get_header_tar.c
+++ b/archival/libunarchive/get_header_tar.c
@@ -80,7 +80,7 @@
* 0's are for the old tar format
*/
if (strncmp(tar.formated.magic, "ustar", 5) != 0) {
-#ifdef CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY
+#ifdef CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY
if (strncmp(tar.formated.magic, "\0\0\0\0\0", 5) != 0)
#endif
bb_error_msg_and_die("Invalid tar magic");
@@ -144,7 +144,7 @@
/* Reserved for high performance files, treat as normal file */
case 0:
case '0':
-#ifdef CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY
+#ifdef CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY
if (last_char_is(file_header->name, '/')) {
file_header->mode |= S_IFDIR;
} else
diff --git a/archival/tar.c b/archival/tar.c
index ab4d1f2..9d0a7c5 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -44,7 +44,7 @@
/* Tar file constants */
# define TAR_MAGIC "ustar" /* ustar and a null */
-# define TAR_VERSION " " /* Be compatable with GNU tar format */
+# define TAR_VERSION " " /* Be compatible with GNU tar format */
#define TAR_BLOCK_SIZE 512
#define TAR_MAGIC_LEN 6