summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2010-05-31 19:56:18 -0700
committerKent Overstreet <kent.overstreet@gmail.com>2010-05-31 19:56:18 -0700
commitb649d43bcc2a0592841ae2574cccf20269d616cc (patch)
tree1aca811b697ebba2fd71d779a0a01e3b906ef9fd
parent14db4b49aaac272b292bda97fcc0ec98b71b2e2f (diff)
auto
-rw-r--r--bcache-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bcache-test.c b/bcache-test.c
index 8db853b..466927b 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");