From: Christoph Hellwig Date: Mon, 29 Sep 2014 03:11:33 +0000 (+1000) Subject: fstest: fix dumping of miscompare buffer X-Git-Tag: v2022.05.01~3053 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=108634504c7e309af9be6be17f039c8cff61bbac;p=users%2Fhch%2Fxfstests-dev.git 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 Reviewed-by: Theodore Ts'o Signed-off-by: Dave Chinner --- diff --git a/src/fstest.c b/src/fstest.c index 2e92fd8db..f7e2d3eb4 100644 --- a/src/fstest.c +++ b/src/fstest.c @@ -73,7 +73,7 @@ static void check_buffer(uchar *buf, int loop, int child, int fnum, int ofs) for (j=0;j