From e0ddc33ce28ee2fefec9292c60a3aca74966e06b Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 29 Jun 2016 19:56:15 +0300 Subject: [PATCH] Bluetooth: log: Add space after scheduling context This improves readability of the debug logs. Change-Id: Ib661535bcbb990cc8a807d40ff570aa11a293c54 Signed-off-by: Johan Hedberg --- include/bluetooth/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bluetooth/log.h b/include/bluetooth/log.h index f64c09300a0..d5a94dd0dc0 100644 --- a/include/bluetooth/log.h +++ b/include/bluetooth/log.h @@ -57,7 +57,7 @@ void bt_log(int prio, const char *fmt, ...); #define SYS_LOG_LEVEL SYS_LOG_LEVEL_DEBUG #include -#define BT_DBG(fmt, ...) SYS_LOG_DBG("(%p)" fmt, sys_thread_self_get(), \ +#define BT_DBG(fmt, ...) SYS_LOG_DBG("(%p) " fmt, sys_thread_self_get(), \ ##__VA_ARGS__) #define BT_ERR(fmt, ...) SYS_LOG_ERR(fmt, ##__VA_ARGS__) #define BT_WARN(fmt, ...) SYS_LOG_WRN(fmt, ##__VA_ARGS__)