summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-11-24 11:46:32 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-11-24 11:46:32 -0200
commit245236bd3ee9bf9148640f097d6a11a9d4fcb10c (patch)
tree919fad827ac3d5afd0cf00be65f29bc042589e6d
parenta3f42f87571222b1c3f3cb9204a0964b30ed19bc (diff)
downloadmediapointer-dvb-s2-245236bd3ee9bf9148640f097d6a11a9d4fcb10c.tar.gz
mediapointer-dvb-s2-245236bd3ee9bf9148640f097d6a11a9d4fcb10c.tar.bz2
Make format output more compact
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--v4l2-apps/util/xc3028-firmware/firmware-tool.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/v4l2-apps/util/xc3028-firmware/firmware-tool.c b/v4l2-apps/util/xc3028-firmware/firmware-tool.c
index feb804f11..03063c21f 100644
--- a/v4l2-apps/util/xc3028-firmware/firmware-tool.c
+++ b/v4l2-apps/util/xc3028-firmware/firmware-tool.c
@@ -488,15 +488,14 @@ void list_firmware(struct firmware *f) {
f->version);
printf("standards:\t%u\n", f->nr_desc);
for(i = 0; i < f->nr_desc; ++i) {
- printf("\n");
- printf("standard firmware %u\n", i);
- printf("type:\t");
+ printf("Firmware %u, ", i);
+ printf("type: ");
dump_firm_type(f->desc[i].type);
- printf("(0x%08x)\n", f->desc[i].type);
- printf("id:\t");
+ printf("(0x%08x), ", f->desc[i].type);
+ printf("id: ");
dump_firm_std(f->desc[i].id);
- printf("(%016llx)\n", f->desc[i].id);
- printf("size:\t%u\n", f->desc[i].size);
+ printf("(%016llx), ", f->desc[i].id);
+ printf("size: %u\n", f->desc[i].size);
}
}