From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> --- android/client/textconv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/android/client/textconv.c b/android/client/textconv.c index effd1b3..8e6bdb9 100644 --- a/android/client/textconv.c +++ b/android/client/textconv.c @@ -258,8 +258,7 @@ char *btproperty2str(const bt_property_t *property) switch (property->type) { case BT_PROPERTY_BDNAME: case BT_PROPERTY_REMOTE_FRIENDLY_NAME: - sprintf(p, "%*s", property->len, - ((bt_bdname_t *) property->val)->name); + sprintf(p, "%s", ((bt_bdname_t *) property->val)->name); break; case BT_PROPERTY_BDADDR: -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html