Message ID | 20200809165229.36677-3-luc.vanoostenryck@gmail.com (mailing list archive) |
---|---|
State | Mainlined, archived |
Headers | show |
Series | simplify parsing of storage modifiers | expand |
diff --git a/parse.c b/parse.c index cc5dbd522b3e..cc46f1a6c5a6 100644 --- a/parse.c +++ b/parse.c @@ -1151,7 +1151,7 @@ static struct token *attribute_aligned(struct token *token, struct symbol *attr, static void apply_mod(struct position *pos, unsigned long *mods, unsigned long mod) { if (*mods & mod & ~MOD_DUP_OK) - warning(*pos, "duplicate %s", modifier_string(mod)); + warning(*pos, "duplicate %s", modifier_name(mod)); *mods |= mod; }
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> --- parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)