diff --git a/usr.bin/brandelf/brandelf.c b/usr.bin/brandelf/brandelf.c index 681f0a23bdbd..9ba838212adc 100644 --- a/usr.bin/brandelf/brandelf.c +++ b/usr.bin/brandelf/brandelf.c @@ -189,7 +189,7 @@ elftype(const char *elfstrtype) for (elfwalk = 0; elfwalk < sizeof(elftypes)/sizeof(elftypes[0]); elfwalk++) - if (strcmp(elfstrtype, elftypes[elfwalk].str) == 0) + if (strcasecmp(elfstrtype, elftypes[elfwalk].str) == 0) return elftypes[elfwalk].value; return -1; }