ucm: parser - add error message to verb_dev_list_add()

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2020-02-10 13:18:23 +01:00
parent 5bbe8b2fb9
commit 5bc3d4c4c1

View file

@ -1135,6 +1135,7 @@ static int verb_dev_list_add(struct use_case_verb *verb,
}
return uc_mgr_put_to_dev_list(&device->dev_list, src);
}
uc_error("error: unable to find device '%s'", dst);
return -ENOENT;
}