Fix message.
authorBen Pfaff <blp@cs.stanford.edu>
Thu, 5 Oct 2006 02:20:10 +0000 (02:20 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Thu, 5 Oct 2006 02:20:10 +0000 (02:20 +0000)
From Godmar Back.

src/tests/lib.c

index e3b30b89cc2f8090f54310b70f84da080de185bf..ee36505caf726c3fa6ed304b536ce309a71529a7 100644 (file)
@@ -192,5 +192,5 @@ compare_bytes (const void *read_data_, const void *expected_data_, size_t size,
   msg ("Expected data:");
   hex_dump (ofs + i, expected_data + i, show_cnt, true);
   fail ("%zu bytes read starting at offset %zu in \"%s\" differ "
-        "from expected", j - i, ofs, file_name);
+        "from expected", j - i, ofs + i, file_name);
 }