fstest: fix dumping of miscompare buffer
authorChristoph Hellwig <hch@infradead.org>
Mon, 29 Sep 2014 03:11:33 +0000 (13:11 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 29 Sep 2014 03:11:33 +0000 (13:11 +1000)
commit108634504c7e309af9be6be17f039c8cff61bbac
tree70718dff73f632d6495d81c7e76d94f473d666c8
parenta66f3c3f70d1f3b82510b5620b2fea9064291628
fstest: fix dumping of miscompare buffer

When fstests finds a miscompare it tries to dump the corrupted
bytes from the buffer, but due to an incorrect comparism actully
dumps the correct part of it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Dave Chinner <david@fromorbit.com>
src/fstest.c