From: Pierre-Marc Fournier Date: Tue, 16 Jun 2009 21:01:14 +0000 (-0400) Subject: fix false error message X-Git-Tag: v0.1~188 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=acbf228bbea7ed81ed3bfcb0158fc9d0547fe71d;p=ust.git fix false error message --- diff --git a/libust/tracectl.c b/libust/tracectl.c index 1ee3e45..277dbcd 100644 --- a/libust/tracectl.c +++ b/libust/tracectl.c @@ -777,8 +777,8 @@ static void auto_probe_connect(struct marker *m) int result; result = ltt_marker_connect(m->channel, m->name, "default"); - if(result) - ERR("ltt_marker_connect"); + if(result && result != -EEXIST) + ERR("ltt_marker_connect (marker = %s/%s, errno = %d)", m->channel, m->name, -result); DBG("just auto connected marker %s %s to probe default", m->channel, m->name); }