From: Mathieu Desnoyers Date: Thu, 19 May 2011 04:23:38 +0000 (-0400) Subject: Fix incorrect typing in channel create X-Git-Tag: v2.0-pre1~137 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=89fff18e6246c12f9121721a84ef207f488de8d2;p=lttng-modules.git Fix incorrect typing in channel create Signed-off-by: Mathieu Desnoyers --- diff --git a/ltt-ring-buffer-metadata-client.h b/ltt-ring-buffer-metadata-client.h index 9456d54e..c457aea2 100644 --- a/ltt-ring-buffer-metadata-client.h +++ b/ltt-ring-buffer-metadata-client.h @@ -153,12 +153,12 @@ static const struct lib_ring_buffer_config client_config = { static struct channel *_channel_create(const char *name, - struct ltt_session *session, void *buf_addr, + struct ltt_channel *ltt_chan, void *buf_addr, size_t subbuf_size, size_t num_subbuf, unsigned int switch_timer_interval, unsigned int read_timer_interval) { - return channel_create(&client_config, name, session, buf_addr, + return channel_create(&client_config, name, ltt_chan, buf_addr, subbuf_size, num_subbuf, switch_timer_interval, read_timer_interval); }