diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog index 880975f4..847007af 100644 --- a/e2fsck/ChangeLog +++ b/e2fsck/ChangeLog @@ -1,3 +1,8 @@ +Fri Oct 24 00:12:39 1997 Theodore Ts'o + + * 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 * pass*.c, super.c, unix.c, util.c, e2fsck.h: Place #ifdef diff --git a/e2fsck/pass1b.c b/e2fsck/pass1b.c index 30c59245..e9652179 100644 --- a/e2fsck/pass1b.c +++ b/e2fsck/pass1b.c @@ -634,7 +634,7 @@ static int clone_file(e2fsck_t ctx, struct dup_inode *dp, char* block_buf) return retval; } if (cs.errcode) { - com_err("clone_file", retval, + com_err("clone_file", cs.errcode, "returned from clone_file_block"); return retval; }