chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26a0d61
)
config parsing: site: Use cfgfatal_cl_type for transform
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 24 May 2020 19:34:01 +0000
(20:34 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 24 May 2020 19:47:04 +0000
(20:47 +0100)
Minor improvement to the message. We are going to improve
cfgfatal_cl_type.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
site.c
patch
|
blob
|
history
diff --git
a/site.c
b/site.c
index 191c36463da7cf7bd1d6186a1a1f51ebb0484877..22cffbd82a5e543da8e62ed8ad1d1a5ed1c2e84a 100644
(file)
--- a/
site.c
+++ b/
site.c
@@
-2408,7
+2408,7
@@
static list_t *site_apply(closure_t *self, struct cloc loc, dict_t *context,
cfgfatal(loc,"site","%s is not a closure\n",dictkey); \
closure_t *cl=item->data.closure; \
if (cl->type!=CL_TYPE) \
- cfgfatal
(loc,"site","%s closure wrong type\n",dictkey);
\
+ cfgfatal
_cl_type(loc,"site",cl,CL_TYPE,dictkey);
\
st->things[i]=cl->interface; \
} \
}while(0)