X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=bt-api%2Fbt-hdp.c;h=f8f0fadca12612b78bad5be69b462d02eba54bc6;hb=39ba85ec55b2de81bb872bacb035f6731e56086e;hp=d85212f82cdbe2995ae9e3454b9f36668b516c02;hpb=96e67a02816e81a31f8a37e188de0f3bbb13429b;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git diff --git a/bt-api/bt-hdp.c b/bt-api/bt-hdp.c index d85212f..f8f0fad 100755 --- a/bt-api/bt-hdp.c +++ b/bt-api/bt-hdp.c @@ -199,7 +199,7 @@ static gboolean __bt_hdp_internal_data_received(GIOChannel *gio, return FALSE; } - BT_DBG("fd: %d, len: %d, buffer: %s", fd, len, buff); + BT_DBG("fd: %d, len: %zd, buffer: %s", fd, len, buff); user_info = _bt_get_user_data(BT_COMMON); if (user_info->cb) { @@ -412,7 +412,7 @@ BT_EXPORT_API int bluetooth_hdp_send_data(unsigned int channel_id, switch (privilege_token) { case 0: - result = _bt_check_privilege(BT_BLUEZ_SERVICE, BT_HDP_SEND_DATA); + result = _bt_check_privilege(BT_CHECK_PRIVILEGE, BT_HDP_SEND_DATA); if (result == BLUETOOTH_ERROR_NONE) { privilege_token = 1; /* Have a permission */