From 57da6163f6b2dadcc12bf2440e857ecc8db32be6 Mon Sep 17 00:00:00 2001 From: pancake Date: Sat, 8 Aug 2026 12:30:25 +0200 Subject: [PATCH] Fix build for ABIVERSION >= 125 (r2-6.2.0) - thanks @stygian-ash --- src/r2/core_r2unity.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/r2/core_r2unity.c b/src/r2/core_r2unity.c index 6233f29..dc6339d 100644 --- a/src/r2/core_r2unity.c +++ b/src/r2/core_r2unity.c @@ -1225,7 +1225,7 @@ static bool r2unity_call(RCorePluginSession *cps, const char *input) { /* "r2unity" alone, or "r2unity?" */ if (*rest == 0 || *rest == '?') { - r_core_cmd_help (core, g_help_msg); + r_cons_cmd_help (core->cons, g_help_msg); return true; } if (*rest != '-') { @@ -1243,7 +1243,7 @@ static bool r2unity_call(RCorePluginSession *cps, const char *input) { rest++; } if (*rest && *rest != ' ' && *rest != '\t') { - r_core_cmd_help (core, g_help_msg); + r_cons_cmd_help (core->cons, g_help_msg); return true; } } @@ -1270,10 +1270,10 @@ static bool r2unity_call(RCorePluginSession *cps, const char *input) { return cmd_sbom (core, mode) == 0; case '?': case 'h': - r_core_cmd_help (core, g_help_msg); + r_cons_cmd_help (core->cons, g_help_msg); return true; default: - r_core_cmd_help (core, g_help_msg); + r_cons_cmd_help (core->cons, g_help_msg); return true; } }