[Cryptech-Commits] [sw/libhal] 02/02: Widen an int in an error message, for consistency.

git at cryptech.is git at cryptech.is
Wed May 25 01:40:07 UTC 2016


This is an automated email from the git hooks/post-receive script.

paul at psgd.org pushed a commit to branch master
in repository sw/libhal.

commit ecdbf7695cf8c05837dfd8925347a8e45a11de2b
Author: Paul Selkirk <paul at psgd.org>
AuthorDate: Tue May 24 21:39:49 2016 -0400

    Widen an int in an error message, for consistency.
---
 tests/test-mkmif.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test-mkmif.c b/tests/test-mkmif.c
index 0729628..a382cf6 100644
--- a/tests/test-mkmif.c
+++ b/tests/test-mkmif.c
@@ -122,7 +122,7 @@ static hal_error_t write_read_test(const hal_core_t *core)
     }
 
     if (readback != data) {
-        printf("read %04x, expected %04x\n", (unsigned int)readback, (unsigned int)data);
+        printf("read %08x, expected %08x\n", (unsigned int)readback, (unsigned int)data);
         return HAL_ERROR_IO_UNEXPECTED;
     }
       



More information about the Commits mailing list