diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 92acc956..98d261f7 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,3 +1,7 @@ +2009-03-08 Arnim Laeuger + + * src/bsdl/bsdl_sem.c: avoid leading space when printing commands + 2009-03-07 Arnim Laeuger * data/ti/tnetv1060/tnetv1060, data/ti/tnetv1061/tnetv1061: diff --git a/jtag/src/bsdl/bsdl_sem.c b/jtag/src/bsdl/bsdl_sem.c index 11198b9f..aeff8e6a 100644 --- a/jtag/src/bsdl/bsdl_sem.c +++ b/jtag/src/bsdl/bsdl_sem.c @@ -61,7 +61,7 @@ static void print_cmd(char **cmd) char *elem; while ((elem = cmd[idx])) { - printf(" %s", elem); + printf("%s%s", idx > 0 ? " ": "", elem); idx++; } printf("\n");