aboutsummaryrefslogtreecommitdiff
path: root/tests/test-bus.c
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2015-11-17 23:45:17 -0500
committerPaul Selkirk <paul@psgd.org>2015-11-17 23:45:17 -0500
commit03e6a672c964ebaf0e61018b0a7a63edb2748990 (patch)
treefc3ef67bd4a47ea33e95fc9a5e0c8bc03d7dbf3c /tests/test-bus.c
parent863f996135a80ff8511360308496056ecee9e47d (diff)
More post-merge cleanup.
- Joachim says always check entropy and csprng for 'valid' before reading. - Harmonize RNG status valid bit with other cores. - Clean up compiler warnings about printf formats.
Diffstat (limited to 'tests/test-bus.c')
-rw-r--r--tests/test-bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-bus.c b/tests/test-bus.c
index d30f3fc..1c60e5d 100644
--- a/tests/test-bus.c
+++ b/tests/test-bus.c
@@ -68,7 +68,7 @@ static int sanity(const hal_core_t *board_core)
}
if (data != rnd) {
- printf("Data bus fail: expected %08lx, got %08lx, diff %08lx\n", rnd, data, data ^ rnd);
+ printf("Data bus fail: expected %08x, got %08x, diff %08x\n", rnd, data, data ^ rnd);
return 1;
}