Add printf checks for proxy_error and resource_error

Add an error variant without checks.
This commit is contained in:
Wim Taymans 2019-11-21 16:09:05 +01:00
parent f2b7f2dc6d
commit e40fbf8cc4
20 changed files with 65 additions and 43 deletions

View file

@ -124,7 +124,7 @@ static int client_endpoint_stream_update(void *object,
pw_properties_free(props);
free(stream);
pw_log_error(NAME" %p: cannot update stream: no memory", this);
pw_resource_error(this->resource, -ENOMEM,
pw_resource_errorf(this->resource, -ENOMEM,
NAME" %p: cannot update stream: no memory", this);
return -ENOMEM;
}