Skip to contentSkip to conversation

flex-array: fix typo in warning message

PATCH New Luc Van Oostenryck 1 participant 1 message Oct 14, 2020 Sparse checker

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 flex-array: fix typo in warning message

---
 symbol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
symbol.c +1 -1
index 5e7f07969f96..b758ca415583 100644
@@ -200,7 +200,7 @@ static struct symbol * examine_struct_union_type(struct symbol *sym, int advance
 		if (has_flexible_array(member))
 			info.has_flex_array = 1;
 		if (has_flexible_array(member) && Wflexible_array_nested)
-			warning(member->pos, "nested flexible arrays");
+			warning(member->pos, "nested flexible array");
 		fn(member, &info);
 	} END_FOR_EACH_PTR(member);
 
Signature · 1 line
2.28.0