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>
This commit is contained in:
parent
cd1fb7cc84
commit
babed1e589
|
@ -132,7 +132,7 @@ test_config_rom(raw1394handle_t handle)
|
||||||
retval, rom_size, rom_version);
|
retval, rom_size, rom_version);
|
||||||
printf(" here are the first 10 quadlets:\n");
|
printf(" here are the first 10 quadlets:\n");
|
||||||
for (i = 0; i < 10; i++)
|
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);
|
retval = raw1394_update_config_rom(handle, rom, rom_size, rom_version);
|
||||||
printf(" update_config_rom returned %d\n", retval);
|
printf(" update_config_rom returned %d\n", retval);
|
||||||
|
|
Reference in New Issue