From 7479cc7eed20c96ecdb20bcb67ab05395d3f50e9 Mon Sep 17 00:00:00 2001 From: Michal Cmarada Date: Tue, 30 Apr 2019 14:04:09 +0200 Subject: fix contextId variable in debug log Change-Id: I966a55e69b68ad503a4b5b4ea4fb3240c4ec0b89 Signed-off-by: Michal Cmarada --- java/jvpp-common/jvpp_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java') 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"); -- cgit 1.2.3-korg