mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -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
|
|
@ -648,7 +648,7 @@ static int core_demarshal_destroy(void *object, const struct pw_protocol_native_
|
|||
|
||||
no_resource:
|
||||
pw_log_error("client %p: unknown resouce %u op:%u", client, id, msg->opcode);
|
||||
pw_resource_error(resource, -EINVAL, "unknown resource %d op:%u", id, msg->opcode);
|
||||
pw_resource_errorf(resource, -EINVAL, "unknown resource %d op:%u", id, msg->opcode);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue