commit | b7846402ca8f58dc6e7ed967ba8eba8fae26b8db | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sun Jun 03 23:27:56 2001 +0000 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Jun 03 23:27:56 2001 +0000 |
tree | 286ded8167086904a51c42e0403cac8b64423068 | |
parent | 5a9c036bf3d48ca622b08286b5e82bec2cbb6b7a [diff] [blame] |
ChangeLog, debugfs.c: debugfs.c (copy_file): Fixed signed vs unsigned bug which causes read errors to not be noticed.
diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c index d37599e..dadf29f 100644 --- a/debugfs/debugfs.c +++ b/debugfs/debugfs.c
@@ -1098,7 +1098,8 @@ { ext2_file_t e2_file; errcode_t retval; - unsigned int got, written; + int got; + unsigned int written; char buf[8192]; char *ptr;