Bluetooth: Fix printf specifier for debug
printf() '%x' expects type 'unsigned int' for 'x', but parameter has pointer type. Change-Id: Id2d365a32b2e3e711359bd56741370d8167db868 Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
9b9e9e66c5
commit
fa77083bf4
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@
|
|||
/* Bluetooth subsystem logging helpers */
|
||||
|
||||
#if defined(CONFIG_BLUETOOTH_DEBUG)
|
||||
#define BT_DBG(fmt, ...) printf("bt: %s (%x): " fmt, __func__, \
|
||||
#define BT_DBG(fmt, ...) printf("bt: %s (%p): " fmt, __func__, \
|
||||
context_self_get(), ##__VA_ARGS__)
|
||||
#else
|
||||
#define BT_DBG(fmt, ...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue