From: Arran Cudbard-Bell Date: Mon, 29 Mar 2021 10:21:47 +0000 (+0100) Subject: Better error message X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2933a67910db17cc9e04e9d13cc2cc582b64f33d;p=thirdparty%2Ffreeradius-server.git Better error message --- diff --git a/src/lib/util/dict_util.c b/src/lib/util/dict_util.c index 74dbacdc25f..2a729967546 100644 --- a/src/lib/util/dict_util.c +++ b/src/lib/util/dict_util.c @@ -1168,7 +1168,8 @@ static int dict_attr_compatible(fr_dict_attr_t const *parent, fr_dict_attr_t con } if (old->type != n->type) { - fr_strerror_printf_push("Cannot add duplicate attribute with different type (old %s has type %s, new %s has type %s)", + fr_strerror_printf_push("Cannot add duplicate attribute with different type " + "(old attribute \"%s\" has type %s, new attribute \"%s\" has type %s)", old->name, fr_table_str_by_value(fr_value_box_type_table, old->type, "?Unknown?"), n->name,