Refactoring: UST types public interfaces
[lttng-ust.git] / liblttng-ust / lttng-ust-abi.c
index 4674d000a804043ec2a54cc328de978711d84cf0..12cb91f736a59143bc1a73b79c8682a64d37be86 100644 (file)
@@ -444,7 +444,7 @@ int lttng_abi_map_channel(int session_objd,
 {
        struct lttng_ust_session *session = objd_private(session_objd);
        const char *transport_name;
-       const struct lttng_transport *transport;
+       struct lttng_transport *transport;
        const char *chan_name;
        int chan_objd;
        struct lttng_ust_shm_handle *channel_handle;
@@ -1227,7 +1227,7 @@ long lttng_channel_cmd(int objd, unsigned int cmd, unsigned long arg,
        case LTTNG_UST_ABI_DISABLE:
                return lttng_channel_disable(channel);
        case LTTNG_UST_ABI_FLUSH_BUFFER:
-               return channel->ops->flush_buffer(channel->chan, channel->handle);
+               return channel->ops->priv->flush_buffer(channel->chan, channel->handle);
        default:
                return -EINVAL;
        }
This page took 0.02315 seconds and 4 git commands to generate.