aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2009-05-16 11:00:47 +0200
committerDan Dennedy <dan@dennedy.org>2009-05-27 21:07:05 -0700
commitbabed1e589012862a7a42ab74a586928ff9184fe (patch)
tree3ddad3e34c97382842e3e76df0854145fe11168f
parentcd1fb7cc84e72ab5b5f07b00111a78dca4b934a6 (diff)
downloadlibraw1394-babed1e589012862a7a42ab74a586928ff9184fe.tar.gz
testlibraw: fix printing of local config ROM
Since "testlibraw: test all cards instead of only the first", the actual ROM content wasn't printed anymore due to a mistake in a printf format string. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: Dan Dennedy <dan@dennedy.org>
-rw-r--r--tools/testlibraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testlibraw.c b/tools/testlibraw.c
index 82b8ee5..ea79bc7 100644
--- a/tools/testlibraw.c
+++ b/tools/testlibraw.c
@@ -132,7 +132,7 @@ test_config_rom(raw1394handle_t handle)
retval, rom_size, rom_version);
printf(" here are the first 10 quadlets:\n");
for (i = 0; i < 10; i++)
- printf(" 0x%08x\n", i, rom[i]);
+ printf(" 0x%08x\n", rom[i]);
retval = raw1394_update_config_rom(handle, rom, rom_size, rom_version);
printf(" update_config_rom returned %d\n", retval);