From ee6b7fb274d27a8f7f69f69cb195cad9c5df8a40 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 3 Nov 2011 14:52:01 -0400 Subject: [PATCH] Fix debug message in send consumer fd. Signed-off-by: Mathieu Desnoyers --- lttng-sessiond/ust-consumer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.34.1