7140985: HSDIS does not handle caller options correctly

Fix typo.

Reviewed-by: jrose, kvn
This commit is contained in:
Andrew Haley 2012-02-10 17:20:05 -08:00 committed by Vladimir Kozlov
parent 2d533fa2a9
commit b33087c6d3

View File

@ -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 */