iplink_can: fix format output of clock with flag -details

The command
	ip -details link show can0
prints in the last line the value of the clock frequency attached
to the name of the following value "numtxqueues", e.g.
	clock 49500000numtxqueues 1 numrxqueues 1 gso_max_size
	 65536 gso_max_segs 65535

Add the missing space after the clock value.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
Antonio Borneo 2019-07-26 15:06:09 +02:00 committed by Stephen Hemminger
parent 33267017fa
commit 36e584ad8a
1 changed files with 1 additions and 1 deletions

View File

@ -545,7 +545,7 @@ static void can_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[])
print_int(PRINT_ANY, print_int(PRINT_ANY,
"clock", "clock",
"\n clock %d", "\n clock %d ",
clock->freq); clock->freq);
} }