diff --git a/src/interfaces/ecpg/preproc/type.c b/src/interfaces/ecpg/preproc/type.c
index cb0eb2756673ebd1cf5ee57e0219c53b8dcc2bf7..e7682298b8973559f889cd60b7b5be99118bd0df 100644
--- a/src/interfaces/ecpg/preproc/type.c
+++ b/src/interfaces/ecpg/preproc/type.c
@@ -263,7 +263,7 @@ ECPGdump_a_type(FILE *o, const char *name, struct ECPGtype * type,
 						else
 						{
 							ECPGdump_a_simple(o, ind_name, ind_type->u.element->type,
-											  ind_type->u.element->size, ind_type->size, NULL, prefix);
+											  ind_type->u.element->size, ind_type->size, NULL, ind_prefix);
 						}
 					}
 			}