ChangeLog, unix.c:
  Add a special case check for the error code EROFS and display an
  appropriate error message for this case.

diff --git a/e2fsck/unix.c b/e2fsck/unix.c
index 97bb33d..f5c3191 100644
--- a/e2fsck/unix.c
+++ b/e2fsck/unix.c
@@ -511,6 +511,13 @@
 			       "r/o" : "r/w");
 		else if (retval == ENXIO)
 			printf("Possibly non-existent or swap device?\n");
+#ifdef EROFS
+		else if (retval == EROFS)
+			printf("Disk write-protected; use the -n option"
+			       "to do a read-only\n"
+			       "check of the device.\n");
+
+#endif
 		else
 			fix_problem(ctx, PR_0_SB_CORRUPT, &pctx);
 		fatal_error(0);