ChangeLog, pass1b.c:
Fix bug in error reporting in the case where cs.errcode is non-zero.
diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog
index 880975f..847007a 100644
--- a/e2fsck/ChangeLog
+++ b/e2fsck/ChangeLog
@@ -1,3 +1,8 @@
+Fri Oct 24 00:12:39 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
+
+ * pass1b.c (clone_file): Fix bug in error reporting in the case
+ where cs.errcode is non-zero.
+
Sun Oct 19 21:12:11 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
* pass*.c, super.c, unix.c, util.c, e2fsck.h: Place #ifdef
diff --git a/e2fsck/pass1b.c b/e2fsck/pass1b.c
index 30c5924..e965217 100644
--- a/e2fsck/pass1b.c
+++ b/e2fsck/pass1b.c
@@ -634,7 +634,7 @@
return retval;
}
if (cs.errcode) {
- com_err("clone_file", retval,
+ com_err("clone_file", cs.errcode,
"returned from clone_file_block");
return retval;
}