Fix: don't print stream name in error message
[lttng-tools.git] / src / bin / lttng-sessiond / ust-consumer.c
index 9715c426f468f5b24cf76bf64726b0cf218d5af3..a8a11dcee41729f56da30f1f34e62b0a7fa3b4b2 100644 (file)
@@ -383,8 +383,8 @@ int ust_consumer_send_stream_to_ust(struct ust_app *app,
        ret = ustctl_send_stream_to_ust(app->sock, channel->obj, stream->obj);
        if (ret < 0) {
                if (ret != -EPIPE && ret != -LTTNG_UST_ERR_EXITING) {
-                       ERR("Error ustctl send stream %s to app pid: %d with ret %d",
-                                       stream->name, app->pid, ret);
+                       ERR("ustctl send stream handle %d to app pid: %d with ret %d",
+                                       stream->obj->handle, app->pid, ret);
                } else {
                        DBG3("UST app send stream to ust failed. Application is dead.");
                }
This page took 0.031836 seconds and 4 git commands to generate.