ChangeLog, util.c:
  util.c (fatal_error): Try to flush the I/O manager before forcing an
  	exit.

diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog
index 86f1939..3dddcc5 100644
--- a/e2fsck/ChangeLog
+++ b/e2fsck/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-22    <tytso@valinux.com>
+
+	* util.c (fatal_error): Try to flush the I/O manager before
+		forcing an exit.
+
 2000-08-20    <tytso@valinux.com>
 
 	* journal.c (e2fsck_journal_load): Fix **nasty** bug which caused
diff --git a/e2fsck/util.c b/e2fsck/util.c
index 9fd0114..0534b11 100644
--- a/e2fsck/util.c
+++ b/e2fsck/util.c
@@ -39,6 +39,8 @@
 {
 	if (msg) 
 		fprintf (stderr, "e2fsck: %s\n", msg);
+	if (ctx->fs && ctx->fs->io)
+		io_channel_flush(ctx->fs->io);
 	ctx->flags |= E2F_FLAG_ABORT;
 	if (ctx->flags & E2F_FLAG_SETJMP_OK)
 		longjmp(ctx->abort_loc, 1);