mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-04 22:00:25 +00:00
apps/nshlib/nsh_netcmds.c: Fix some alignment in output of 'arp -t' command.
This commit is contained in:
parent
b65c3dac0e
commit
eca2171ab5
1 changed files with 2 additions and 2 deletions
|
|
@ -1125,10 +1125,10 @@ int cmd_arp(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
|||
arptab[i].at_ethaddr.ether_addr_octet[5]);
|
||||
|
||||
#ifdef CONFIG_SYSTEM_TIME64
|
||||
nsh_output(vtbl, "%12s %17s 0x%" PRIx64 "\n",
|
||||
nsh_output(vtbl, "%-12s %-17s 0x%" PRIx64 "\n",
|
||||
ipaddr, ethaddr, (uint64_t)arptab[i].at_time);
|
||||
#else
|
||||
nsh_output(vtbl, "%12s %17s 0x%" PRIx32 "\n",
|
||||
nsh_output(vtbl, "%-12s %-17s 0x%" PRIx32 "\n",
|
||||
ipaddr, ethaddr, (uint32_t)arptab[i].at_time);
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue