ChangeLog, unix.c:
  unix.c (main): Fix typo in checking the incompat feature set; it
  	should be checked against EXT2_LIB_FEATURE_INCOMPAT_SUPP.

diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog
index e7b6700..18d7223 100644
--- a/e2fsck/ChangeLog
+++ b/e2fsck/ChangeLog
@@ -1,3 +1,8 @@
+1998-07-09  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+	* unix.c (main): Fix typo in checking the incompat feature set; it
+		should be checked against EXT2_LIB_FEATURE_INCOMPAT_SUPP.
+
 1998-07-07  Theodore Ts'o  <tytso@rsts-11.mit.edu>
 
 	* badblocks.c (test_disk): Don't clear the existing bad blocks
diff --git a/e2fsck/unix.c b/e2fsck/unix.c
index 9ef7a1d..cd6c98d 100644
--- a/e2fsck/unix.c
+++ b/e2fsck/unix.c
@@ -560,7 +560,7 @@
 	 */
 	s = (struct ext2fs_sb *) fs->super;
 	if ((s->s_feature_compat & ~EXT2_LIB_FEATURE_COMPAT_SUPP) ||
-	    (s->s_feature_incompat & ~EXT2_LIB_FEATURE_RO_COMPAT_SUPP)) {
+	    (s->s_feature_incompat & ~EXT2_LIB_FEATURE_INCOMPAT_SUPP)) {
 		com_err(ctx->program_name, EXT2_ET_UNSUPP_FEATURE,
 			"(%s)", ctx->filesystem_name);
 		goto get_newer;