summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorMichal Cmarada <mcmarada@cisco.com>2019-04-30 14:04:09 +0200
committerMichal Cmarada <mcmarada@cisco.com>2019-04-30 12:07:13 +0000
commit7479cc7eed20c96ecdb20bcb67ab05395d3f50e9 (patch)
treeec9ea036c5cefa46d1b2645490dd0169cbb39c83 /java
parent839b7bd8cf2f5eacb61a45fd23ce05ff94257e22 (diff)
fix contextId variable in debug log
Change-Id: I966a55e69b68ad503a4b5b4ea4fb3240c4ec0b89 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
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");