summaryrefslogtreecommitdiffstats
path: root/tools/bccmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bccmd.c')
-rw-r--r--tools/bccmd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/bccmd.c b/tools/bccmd.c
index 4d32c089..18d38766 100644
--- a/tools/bccmd.c
+++ b/tools/bccmd.c
@@ -48,7 +48,7 @@ static int cmd_builddef(int dd, int argc, char *argv[])
uint16_t seqnum = 0x4711, def = 0x0000, nextdef = 0x0000;
int err = 0;
- printf("Build definitions:");
+ printf("Build definitions:\n");
while (1) {
memset(buf, 0, sizeof(buf));
@@ -69,11 +69,9 @@ static int cmd_builddef(int dd, int argc, char *argv[])
def = nextdef;
- printf(" %s (0x%02x)", csr_builddeftostr(def), def);
+ printf("0x%04x - %s\n", def, csr_builddeftostr(def));
}
- printf("\n");
-
return err;
}