summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/jvpp-common/jvpp_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/jvpp-common/jvpp_common.c b/java/jvpp-common/jvpp_common.c
index 4c56775..840500f 100644
--- a/java/jvpp-common/jvpp_common.c
+++ b/java/jvpp-common/jvpp_common.c
@@ -44,7 +44,7 @@ void call_on_error(const char* callName, int contextId, int retval,
jclass callbackClass, jobject callbackObject,
jclass callbackExceptionClass) {
DEBUG_LOG("\nCallOnError : callback=%s, retval=%d, context=%d\n", callName,
- clib_net_to_host_u32(retval), clib_net_to_host_u32(context));
+ clib_net_to_host_u32(retval), clib_net_to_host_u32(contextId));
JNIEnv *env = jvpp_main.jenv;
if (!callbackClass) {
DEBUG_LOG("CallOnError : jm->callbackClass is null!\n");