Commit 7693834a authored by Wim Taymans's avatar Wim Taymans

pw-profiler: report error when we can't bind

parent 413bda90
Pipeline #124550 passed with stages
in 1 minute and 12 seconds
......@@ -484,7 +484,7 @@ static void registry_event_global(void *data, uint32_t id,
proxy = pw_registry_bind(d->registry, id, type, PW_VERSION_PROFILER, 0);
if (proxy == NULL)
goto no_mem;
goto error_proxy;
fprintf(stderr, "Attaching to Profiler id:%d\n", id);
d->profiler = proxy;
......@@ -492,8 +492,8 @@ static void registry_event_global(void *data, uint32_t id,
return;
no_mem:
pw_log_error("failed to create proxy");
error_proxy:
pw_log_error("failed to create proxy: %m");
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment