changeset 141:823abb444593

6642405: 4/4 src/share/instrument/JPLISAgent.c line 286: "==" found where assignment "=" expected Summary: Fix incorrect variable assignment in initializeJPLISAgent(). Reviewed-by: ohair, sspitsyn
author dcubed
date Mon, 24 Mar 2008 16:59:07 -0700
parents ba825e4b1b8b
children 9f75a46fad8b
files src/share/instrument/JPLISAgent.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/instrument/JPLISAgent.c	Mon Mar 24 16:32:15 2008 -0700
+++ b/src/share/instrument/JPLISAgent.c	Mon Mar 24 16:59:07 2008 -0700
@@ -283,7 +283,7 @@
     checkCapabilities(agent);
 
     /* check phase - if live phase then we don't need the VMInit event */
-    jvmtierror == (*jvmtienv)->GetPhase(jvmtienv, &phase);
+    jvmtierror = (*jvmtienv)->GetPhase(jvmtienv, &phase);
     jplis_assert(jvmtierror == JVMTI_ERROR_NONE);
     if (phase == JVMTI_PHASE_LIVE) {
         return JPLIS_INIT_ERROR_NONE;