From 622f5f272d2a25539f040e04166e1e21eca3adb5 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Fri, 24 Oct 1997 04:18:21 +0000 Subject: [PATCH] ChangeLog, pass1b.c: Fix bug in error reporting in the case where cs.errcode is non-zero. --- e2fsck/ChangeLog | 5 +++++ e2fsck/pass1b.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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; }