From 2e4740e6bbafe8689af5479ee7f3ccb4a31da59a Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 18 Jun 2017 11:28:36 -0600 Subject: [PATCH] i8sak: Missing newline in fprintf output --- nshlib/nsh_netinit.c | 2 ++ wireless/ieee802154/i8sak/i8sak_main.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/nshlib/nsh_netinit.c b/nshlib/nsh_netinit.c index 674c8c036..f9d56af08 100644 --- a/nshlib/nsh_netinit.c +++ b/nshlib/nsh_netinit.c @@ -90,6 +90,8 @@ /* Pick one and at most one supported link layer so that all decisions are * made consistently. + * + * NOTE: Ethernet should always be selected with IEEE 802.11 */ #if defined(CONFIG_NET_ETHERNET) diff --git a/wireless/ieee802154/i8sak/i8sak_main.c b/wireless/ieee802154/i8sak/i8sak_main.c index 7bc94efe8..ff84570d7 100644 --- a/wireless/ieee802154/i8sak/i8sak_main.c +++ b/wireless/ieee802154/i8sak/i8sak_main.c @@ -444,7 +444,7 @@ static void i8sak_switch_instance(FAR char *devname) i8sak = (FAR struct i8sak_s *)sq_remfirst(&g_i8sak_free); if (i8sak == NULL) { - fprintf(stderr, "failed to allocate i8sak instance\n"); + fprintf(stderr, "ERROR: Failed to allocate i8sak instance\n"); exit(EXIT_FAILURE); } @@ -488,7 +488,7 @@ static int i8sak_setup(FAR struct i8sak_s *i8sak, FAR const char *devname) if (strlen(devname) > I8SAK_MAX_DEVNAME) { - fprintf(stderr, "i8sak: too long of devname"); + fprintf(stderr, "ERROR: devname too long\n"); return ERROR; }