From c77119957fcd6b67e8cbaf8f10c02bced6748547 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Fri, 13 Dec 2019 17:18:13 +0100 Subject: [PATCH] shell/sc_gnrc_netif: fix space after NID All option have a space behind them. This fixes the formatting of the NID parameter if there are options after it. --- sys/shell/commands/sc_gnrc_netif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/shell/commands/sc_gnrc_netif.c b/sys/shell/commands/sc_gnrc_netif.c index c2f34d4caa..3010e6f7c1 100644 --- a/sys/shell/commands/sc_gnrc_netif.c +++ b/sys/shell/commands/sc_gnrc_netif.c @@ -533,7 +533,7 @@ static void _netif_list(netif_t *iface) } res = netif_get_opt(iface, NETOPT_NID, 0, &u16, sizeof(u16)); if (res >= 0) { - printf(" NID: 0x%" PRIx16, u16); + printf(" NID: 0x%" PRIx16 " ", u16); } #ifdef MODULE_GNRC_NETIF_CMD_LORA res = netif_get_opt(iface, NETOPT_BANDWIDTH, 0, &u8, sizeof(u8));