fix false error message
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 16 Jun 2009 21:01:14 +0000 (17:01 -0400)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 16 Jun 2009 21:01:14 +0000 (17:01 -0400)
libust/tracectl.c

index 1ee3e45ad8bec3830567f4540022ca4a7568f727..277dbcd75d773f31f9c19f1056d49715d7dfabde 100644 (file)
@@ -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);
 }
This page took 0.028119 seconds and 4 git commands to generate.