From b2eeb2dcac99a7088ad666a461755435a41bd553 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Tue, 12 May 2015 18:48:46 +0200 Subject: [PATCH] use format string for uuid in log_info --- ble/att.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ble/att.c b/ble/att.c index 19c27a4a2..0f09962dd 100644 --- a/ble/att.c +++ b/ble/att.c @@ -208,7 +208,7 @@ void att_dump_attributes(void){ log_info("Handle: 0x%04x, flags: 0x%04x, uuid: ", it.handle, it.flags); if (it.flags & ATT_PROPERTY_UUID128){ swap128(it.uuid, uuid128); - log_info(uuid128_to_str(uuid128)); + log_info("%s", uuid128_to_str(uuid128)); } else { log_info("%04x", READ_BT_16(it.uuid, 0)); }