From b649d43bcc2a0592841ae2574cccf20269d616cc Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Mon, 31 May 2010 19:56:18 -0700 Subject: [PATCH] auto --- bcache-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bcache-test.c b/bcache-test.c index 8db853b6..466927bc 100644 --- a/bcache-test.c +++ b/bcache-test.c @@ -218,8 +218,8 @@ err: perror("IO error"); exit(EXIT_FAILURE); bad: - printf("Bad read! loop %li offset %li sectors %i, sector %i, readcount %i writecount %i\n", - i, offset >> 9, nbytes >> 9, j >> 9, p->readcount, p->writecount); + printf("Bad read! loop %li offset %li readcount %i writecount %i\n", + i, (offset + j) >> 9, p->readcount, p->writecount); if (!memcmp(&p->oldcsum[0], c, 16)) printf("Matches previous csum\n");