From 4f640a152f256992f9ff8484981e4f5be1fe11ef Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Tue, 28 Mar 2017 15:43:38 -0400 Subject: [PATCH] cf_log_err(), not fr_strerror_printf() --- src/main/modcall.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/modcall.c b/src/main/modcall.c index b3dd3f0..594c2f7 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; -- 2.1.4