From: Ben Pfaff <blp@cs.stanford.edu>
Date: Thu, 5 Oct 2006 02:20:10 +0000 (+0000)
Subject: Fix message.
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0563386a8c672a1460473b0b4b175e74eaf5c5c;p=pintos-anon

Fix message.
From Godmar Back.
---

diff --git a/src/tests/lib.c b/src/tests/lib.c
index e3b30b8..ee36505 100644
--- a/src/tests/lib.c
+++ b/src/tests/lib.c
@@ -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);
 }