Fix dlog format error
[platform/core/connectivity/bluetooth-frwk.git] / bt-oal / bluez_hal / src / bt-hal-socket.c
index c50a481..ac59bfb 100644 (file)
@@ -49,7 +49,7 @@ static bt_status_t listen(btsock_type_t type, const char *service_name,
                return BT_STATUS_UNSUPPORTED;
        }
 
-       INFO("channel: %d, sock_fd: %d, type: %d", channel, sock_fd, type);
+       INFO("channel: %d, sock_fd: %d, type: %d", channel, *sock_fd, type);
 
        switch (type) {
        case BTSOCK_RFCOMM:
@@ -97,7 +97,7 @@ static bt_status_t connect(const bt_bdaddr_t *bd_addr, btsock_type_t type,
                return BT_STATUS_UNSUPPORTED;
        }
 
-       INFO("channel: %d, sock_fd: %d, type: %d", channel, sock_fd, type);
+       INFO("channel: %d, sock_fd: %d, type: %d", channel, *sock_fd, type);
 
        switch (type) {
        case BTSOCK_RFCOMM: