Trivial.. missing newlines in debug output

This commit is contained in:
Gregory Nutt 2017-06-20 11:50:04 -06:00
parent e0b1bb6c5f
commit d3b9ea9d66
2 changed files with 5 additions and 2 deletions

View File

@ -188,6 +188,7 @@ int mac802154_txdesc_alloc(FAR struct ieee802154_privmac_s *priv,
{ {
/* MAC is already released */ /* MAC is already released */
wlwarn("WARNING: mac802154_takesem failed: %d\n", ret);
return -EINTR; return -EINTR;
} }
@ -199,6 +200,8 @@ int mac802154_txdesc_alloc(FAR struct ieee802154_privmac_s *priv,
ret = mac802154_takesem(&priv->exclsem, allow_interrupt); ret = mac802154_takesem(&priv->exclsem, allow_interrupt);
if (ret < 0) if (ret < 0)
{ {
wlwarn("WARNING: mac802154_takesem failed: %d\n", ret);
mac802154_givesem(&priv->txdesc_sem); mac802154_givesem(&priv->txdesc_sem);
return -EINTR; return -EINTR;
} }

View File

@ -149,7 +149,7 @@ int mac802154_req_data(MACHANDLE mac,
{ {
/* Should only fail if interrupted by a signal */ /* Should only fail if interrupted by a signal */
wlwarn("WARNING: mac802154_takesem failed: %d", ret); wlwarn("WARNING: mac802154_takesem failed: %d\n", ret);
return ret; return ret;
} }
@ -239,7 +239,7 @@ int mac802154_req_data(MACHANDLE mac,
* exclsem. So the lock is not held if a failure is returned. * exclsem. So the lock is not held if a failure is returned.
*/ */
wlwarn("WARNING: mac802154_txdesc_alloc failed: %d", ret); wlwarn("WARNING: mac802154_txdesc_alloc failed: %d\n", ret);
return ret; return ret;
} }