From: Mathieu Desnoyers Date: Thu, 3 Nov 2011 18:52:01 +0000 (-0400) Subject: Fix debug message in send consumer fd. X-Git-Tag: v2.0-pre15~163 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ee6b7fb274d27a8f7f69f69cb195cad9c5df8a40;p=lttng-tools.git Fix debug message in send consumer fd. Signed-off-by: Mathieu Desnoyers --- diff --git a/lttng-sessiond/ust-consumer.c b/lttng-sessiond/ust-consumer.c index b3b97552e..605870d52 100644 --- a/lttng-sessiond/ust-consumer.c +++ b/lttng-sessiond/ust-consumer.c @@ -138,7 +138,7 @@ int ust_consumer_send_session(int consumer_fd, struct ust_app_session *usess) lum.u.channel.channel_key = usess->metadata->obj->shm_fd; lum.u.channel.max_sb_size = usess->metadata->attr.subbuf_size; lum.u.channel.mmap_len = 0; /* for kernel */ - DBG("Sending metadata channel %d to consumer", lum.u.stream.stream_key); + DBG("Sending metadata channel %d to consumer", lum.u.channel.channel_key); ret = lttcomm_send_unix_sock(sock, &lum, sizeof(lum)); if (ret < 0) { perror("send consumer channel");