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__)