X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=libust%2Flttng-ust-abi.c;fp=libust%2Flttng-ust-abi.c;h=c9623713dcd211a9ec6dfef5073e8d46b2acccb9;hb=43d330a4708732a69334f8e1439f1d0c64770a50;hp=6848c938e09673369a1b0a6be46d22f61a0da6eb;hpb=43861eabbb8d36a63e9b0d0cee5ed1193436d600;p=ust.git diff --git a/libust/lttng-ust-abi.c b/libust/lttng-ust-abi.c index 6848c93..c962371 100644 --- a/libust/lttng-ust-abi.c +++ b/libust/lttng-ust-abi.c @@ -632,8 +632,8 @@ long lttng_channel_cmd(int objd, unsigned int cmd, unsigned long arg) return ltt_channel_enable(channel); case LTTNG_UST_DISABLE: return ltt_channel_disable(channel); - case LTTNG_UST_FLUSH_BUFFERS: - return channel->ops->flush_buffers(channel->chan, channel->handle); + case LTTNG_UST_FLUSH_BUFFER: + return channel->ops->flush_buffer(channel->chan, channel->handle); default: return -EINVAL; } @@ -666,8 +666,8 @@ long lttng_metadata_cmd(int objd, unsigned int cmd, unsigned long arg) /* stream used as output */ return lttng_abi_open_stream(objd, stream); } - case LTTNG_UST_FLUSH_BUFFERS: - return channel->ops->flush_buffers(channel->chan, channel->handle); + case LTTNG_UST_FLUSH_BUFFER: + return channel->ops->flush_buffer(channel->chan, channel->handle); default: return -EINVAL; }