t/ctl: Use correct ipc call for toggling client I/O.

This commit is contained in:
Lubosz Sarnecki 2023-07-12 13:57:14 +02:00
parent 6d3021e73d
commit 0195e22341

View file

@ -122,7 +122,7 @@ toggle_io(struct ipc_connection *ipc_c, int client_id)
{
xrt_result_t r;
r = ipc_call_system_toggle_io_device(ipc_c, client_id);
r = ipc_call_system_toggle_io_client(ipc_c, client_id);
if (r != XRT_SUCCESS) {
PE("Failed to toggle io for client %d.\n", client_id);
return 1;