You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by na...@apache.org on 2019/02/05 10:33:33 UTC

[mynewt-nimble] branch master updated: nimble/host: Fix missing newlines in some logs

This is an automated email from the ASF dual-hosted git repository.

naraj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new 7cc7063  nimble/host: Fix missing newlines in some logs
7cc7063 is described below

commit 7cc706390e43a5d084b8cfe74fc4b5f216f8552f
Author: MichaƂ Narajowski <mi...@codecoup.pl>
AuthorDate: Tue Feb 5 11:20:42 2019 +0100

    nimble/host: Fix missing newlines in some logs
---
 nimble/host/src/ble_hs.c     | 2 +-
 nimble/host/src/ble_hs_dbg.c | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/nimble/host/src/ble_hs.c b/nimble/host/src/ble_hs.c
index 086bfb1..3036746 100644
--- a/nimble/host/src/ble_hs.c
+++ b/nimble/host/src/ble_hs.c
@@ -344,7 +344,7 @@ ble_hs_sync(void)
     if (rc == 0) {
         rc = ble_hs_misc_restore_irks();
         if (rc != 0) {
-            BLE_HS_LOG(INFO, "Failed to restore IRKs from store; status=%d",
+            BLE_HS_LOG(INFO, "Failed to restore IRKs from store; status=%d\n",
                        rc);
         }
 
diff --git a/nimble/host/src/ble_hs_dbg.c b/nimble/host/src/ble_hs_dbg.c
index e472ab0..4529ee0 100644
--- a/nimble/host/src/ble_hs_dbg.c
+++ b/nimble/host/src/ble_hs_dbg.c
@@ -182,7 +182,7 @@ ble_hs_dbg_le_event_disp(uint8_t subev, uint8_t len, uint8_t *evdata)
         }
 
         BLE_HS_LOG(DEBUG, "LE Read Local P-256 Public Key Complete "
-                   "len=%u status=0x%02x", len, data->status);
+                   "len=%u status=0x%02x\n", len, data->status);
         break;
     }
 
@@ -197,7 +197,7 @@ ble_hs_dbg_le_event_disp(uint8_t subev, uint8_t len, uint8_t *evdata)
         }
 
         BLE_HS_LOG(DEBUG, "LE Generate DHKey Complete Event len=%u "
-                   "status=0x%02x", len, data->status);
+                   "status=0x%02x\n", len, data->status);
         break;
     }
 
@@ -326,7 +326,7 @@ ble_hs_dbg_le_event_disp(uint8_t subev, uint8_t len, uint8_t *evdata)
         }
 
         BLE_HS_LOG(DEBUG, "LE Channel Selection Algorithm len=%u "
-                   "conn_handle=0x%04x chan_sel_alg=0x%02x", len,
+                   "conn_handle=0x%04x chan_sel_alg=0x%02x\n", len,
                    le16toh(data->conn_handle), data->chan_sel_alg);
         break;
     }