Fix cleanup

This commit is contained in:
Wim Taymans 2019-05-10 11:15:48 +02:00
parent 41ab051b68
commit 1a7fcaf9c6
3 changed files with 5 additions and 3 deletions

View file

@ -653,7 +653,8 @@ client_node_port_set_param(void *object,
port = pw_node_find_port(data->node, direction, port_id);
if (port == NULL) {
res = -EINVAL;
pw_proxy_error(proxy, res, "unknown port");
pw_proxy_error(proxy, res, "unknown %s port %d",
direction == SPA_DIRECTION_INPUT ? "input" : "output", port_id);
goto done;
}