From: Alan T. DeKok Date: Tue, 28 Mar 2017 19:43:38 +0000 (-0400) Subject: cf_log_err(), not fr_strerror_printf() X-Git-Tag: release_3_0_14~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f640a152f256992f9ff8484981e4f5be1fe11ef;p=thirdparty%2Ffreeradius-server.git cf_log_err(), not fr_strerror_printf() --- diff --git a/src/main/modcall.c b/src/main/modcall.c index b3dd3f0675f..594c2f78cf6 100644 --- a/src/main/modcall.c +++ b/src/main/modcall.c @@ -1684,9 +1684,9 @@ int modcall_fixup_update(vp_map_t *map, UNUSED void *ctx) da = dict_attrbytype(map->lhs->tmpl_da->attr, map->lhs->tmpl_da->vendor, map->rhs->tmpl_data_type); if (!da) { - fr_strerror_printf("Cannot find %s variant of attribute \"%s\"", - fr_int2str(dict_attr_types, map->rhs->tmpl_data_type, - ""), map->lhs->tmpl_da->name); + cf_log_err(map->ci, "Cannot find %s variant of attribute \"%s\"", + fr_int2str(dict_attr_types, map->rhs->tmpl_data_type, + ""), map->lhs->tmpl_da->name); return -1; } map->lhs->tmpl_da = da;