Whamcloud - gitweb
ChangeLog, pass1b.c:
authorTheodore Ts'o <tytso@mit.edu>
Fri, 24 Oct 1997 04:18:21 +0000 (04:18 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 24 Oct 1997 04:18:21 +0000 (04:18 +0000)
  Fix bug in error reporting in the case where cs.errcode is non-zero.

e2fsck/ChangeLog
e2fsck/pass1b.c

index 880975f..847007a 100644 (file)
@@ -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
index 30c5924..e965217 100644 (file)
@@ -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;
        }