changeset 11782:38cbdb77b3d1

7140985: HSDIS does not handle caller options correctly Summary: Fix typo. Reviewed-by: jrose, kvn Contributed-by: Andrew Haley <aph@redhat.com>
author kvn
date Fri, 10 Feb 2012 17:20:05 -0800
parents f99a70966575
children 2b50fb0a7c0f
files hotspot/src/share/tools/hsdis/hsdis.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/share/tools/hsdis/hsdis.c	Fri Feb 10 12:53:43 2012 -0800
+++ b/hotspot/src/share/tools/hsdis/hsdis.c	Fri Feb 10 17:20:05 2012 -0800
@@ -356,7 +356,7 @@
       if (plen > mach_size)  plen = mach_size;
       strncpy(mach_option, p, plen);
       mach_option[plen] = '\0';
-    } else if (plen > 6 && strncmp(p, "hsdis-", 6)) {
+    } else if (plen > 6 && strncmp(p, "hsdis-", 6) == 0) {
       // do not pass these to the next level
     } else {
       /* just copy it; {i386,sparc}-dis.c might like to see it  */