BTSOCK_RFCOMM, NULL, channel, &sock_fd, 0);
break;
default:
- BT_ERR("Socket type: %d not supported");
+ BT_ERR("Socket type: %d not supported", sock_type);
}
if (sock_fd < 0) {
svc_name, p_uuid->uuid, channel, &sock_fd, 0);
break;
default:
- BT_ERR("Socket type: %d not supported");
+ BT_ERR("Socket type: %d not supported", sock_type);
}
if (sock_fd < 0 || ret != BT_STATUS_SUCCESS) {