mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
7140985: HSDIS does not handle caller options correctly
Fix typo. Reviewed-by: jrose, kvn
This commit is contained in:
parent
2d533fa2a9
commit
b33087c6d3
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ static void parse_caller_options(struct hsdis_app_data* app_data, const char* ca
|
|||
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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue