mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-10-14 11:53:16 +00:00
v4l2: fix printf format
This commit is contained in:
parent
9062182985
commit
34be6c76a6
|
@ -86,7 +86,7 @@ static int emit_info(struct impl *this, bool full)
|
|||
/* encode device number into a json array */
|
||||
spa_strbuf_init(&buf, devices_str, sizeof(devices_str));
|
||||
spa_strbuf_append(&buf, "[ ");
|
||||
spa_strbuf_append(&buf, (char *)this->props.devnum);
|
||||
spa_strbuf_append(&buf, "%s", this->props.devnum);
|
||||
spa_strbuf_append(&buf, " ]");
|
||||
ADD_ITEM(SPA_KEY_DEVICE_DEVIDS, devices_str);
|
||||
|
||||
|
|
Loading…
Reference in a new issue