From babed1e589012862a7a42ab74a586928ff9184fe Mon Sep 17 00:00:00 2001 From: Stefan Richter Date: Sat, 16 May 2009 11:00:47 +0200 Subject: [PATCH] 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 Signed-off-by: Dan Dennedy --- tools/testlibraw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);