mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-26 08:56:49 -05:00
Add printf checks for proxy_error and resource_error
Add an error variant without checks.
This commit is contained in:
parent
f2b7f2dc6d
commit
e40fbf8cc4
20 changed files with 65 additions and 43 deletions
|
|
@ -167,7 +167,7 @@ error_create_node:
|
|||
res = -errno;
|
||||
pw_log_error("can't create node: %m");
|
||||
if (resource)
|
||||
pw_resource_error(resource, res, "can't create node: %s", spa_strerror(res));
|
||||
pw_resource_errorf(resource, res, "can't create node: %s", spa_strerror(res));
|
||||
goto error_exit;
|
||||
error_bind:
|
||||
pw_resource_error(resource, res, "can't bind node");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue