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-05-03 09:34:43 +0200
commit977bd14ab016f729a279b8e7fd16c8f000548d29 (patch)
treeca519f24c22b0288c887535afecaa022b71a38a5 /java
parenta1d128196d082b5833194a3fdc0a24ac7bdd184f (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");