summaryrefslogtreecommitdiff
path: root/validator/val_kcache.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2018-09-10 16:32:55 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2018-09-10 16:32:55 +0000
commitdcaa814d350c5ee7deb2164502a24f2f698b9799 (patch)
tree9cb62373e6c424da021043a171564ced3bb19501 /validator/val_kcache.c
parent4aea2433fa04a7a86c8972869bd021b7a3622dc8 (diff)
Diffstat (limited to 'validator/val_kcache.c')
-rw-r--r--validator/val_kcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/validator/val_kcache.c b/validator/val_kcache.c
index 22070cc6a90e..e0b88b6df81d 100644
--- a/validator/val_kcache.c
+++ b/validator/val_kcache.c
@@ -89,7 +89,7 @@ key_cache_insert(struct key_cache* kcache, struct key_entry_key* kkey,
if(key_entry_isbad(k) && qstate->errinf &&
qstate->env->cfg->val_log_level >= 2) {
/* on malloc failure there is simply no reason string */
- key_entry_set_reason(k, errinf_to_str(qstate));
+ key_entry_set_reason(k, errinf_to_str_bogus(qstate));
}
key_entry_hash(k);
slabhash_insert(kcache->slab, k->entry.hash, &k->entry,