diff --git a/src/io_frida.c b/src/io_frida.c index 1d71cc52..53a0e83f 100644 --- a/src/io_frida.c +++ b/src/io_frida.c @@ -1587,7 +1587,11 @@ static void exec_pending_cmd_if_needed(RIOFrida * rf) { if (!rf->pending_cmd) { return; } +#if R2_VERSION_NUMBER >= 50909 + char *output = COREBIND (rf->io).cmdStr (rf->r2core, rf->pending_cmd->cmd_string); +#else char *output = COREBIND (rf->io).cmdstr (rf->r2core, rf->pending_cmd->cmd_string); +#endif ut64 serial = rf->pending_cmd->serial; pending_cmd_free (rf->pending_cmd);