From bb9cf413195ca3a68c07059e95df1c50127d5824 Mon Sep 17 00:00:00 2001 From: Pierre-Marc Fournier Date: Mon, 15 Feb 2010 00:17:05 -0500 Subject: [PATCH] fix bug that always forced the consumed offset at 0 Zero was always passed to ust_buffers_put_subbuf --- libust/tracectl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libust/tracectl.c b/libust/tracectl.c index c0bf6d2..3a5a338 100644 --- a/libust/tracectl.c +++ b/libust/tracectl.c @@ -640,7 +640,6 @@ static int do_cmd_put_subbuffer(const char *recvbuf, struct ustcomm_source *src) if(!strcmp(trace->channels[i].channel_name, ch_name)) { struct ust_buffer *buf = channel->buf[ch_cpu]; char *reply; - long consumed_old=0; found = 1; -- 2.34.1