chiark / gitweb /
changelog: document changes since 0.6.0
[secnet.git] / conffile.c
index e3a74aab90fd481b73b0b8455db5eb17603054be..8c4385cd4477f795b9a5830e495ca240a5c8f7ea 100644 (file)
@@ -667,7 +667,7 @@ void *find_cl_if(dict_t *dict, cstring_t name, uint32_t type,
     }
     cl=i->data.closure;
     if (cl->type!=type) {
-       cfgfatal(loc,desc,"\"%s\" is the wrong type of closure\n",name);
+       cfgfatal_cl_type(loc,desc,cl,type,name);
     }
     return cl->interface;
 }