target/arm_adi_v5: change prototype of dap_rom_display()
[openocd.git] / src / target / arm_dap.c
index dd7ec9b..5c15f2c 100644 (file)
@@ -331,7 +331,7 @@ COMMAND_HANDLER(handle_dap_info_command)
                        return ERROR_COMMAND_SYNTAX_ERROR;
        }
 
-       return dap_info_command(CMD_CTX, &dap->ap[apsel]);
+       return dap_info_command(CMD, &dap->ap[apsel]);
 }
 
 static const struct command_registration dap_subcommand_handlers[] = {