aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/igen.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/ppc/igen.c')
-rw-r--r--sim/ppc/igen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/ppc/igen.c b/sim/ppc/igen.c
index be84fa8..38ec2fb 100644
--- a/sim/ppc/igen.c
+++ b/sim/ppc/igen.c
@@ -3340,7 +3340,7 @@ gen_model_c(insn_table *table, lf *file)
if (models) {
lf_printf(file, " model_enum model;\n");
lf_printf(file, " for(model = MODEL_%s; model < nr_models; model++) {\n", models->name);
- lf_printf(file, " if(strcasecmp(name, model_name[model]) == 0) {\n");
+ lf_printf(file, " if(strcmp(name, model_name[model]) == 0) {\n");
lf_printf(file, " current_model = model;\n");
lf_printf(file, " return;\n");
lf_printf(file, " }\n");