helper/command: change prototype of command_print/command_print_sameline
[fw/openocd] / src / jtag / aice / aice_interface.c
index c758bb43b9156ce800fe5b0bfb61ada034d19cbc..2aac5e93ac541255ad18b6b68fafd02d5cd57d0d 100644 (file)
@@ -269,10 +269,10 @@ COMMAND_HANDLER(aice_handle_aice_info_command)
 {
        LOG_DEBUG("aice_handle_aice_info_command");
 
-       command_print(CMD_CTX, "Description: %s", param.device_desc);
-       command_print(CMD_CTX, "Serial number: %s", param.serial);
+       command_print(CMD, "Description: %s", param.device_desc);
+       command_print(CMD, "Serial number: %s", param.serial);
        if (strncmp(aice_port->name, "aice_pipe", 9) == 0)
-               command_print(CMD_CTX, "Adapter: %s", param.adapter_name);
+               command_print(CMD, "Adapter: %s", param.adapter_name);
 
        return ERROR_OK;
 }