From 4a1e23ef2fadbb534fda085be26da0bc34690641 Mon Sep 17 00:00:00 2001 From: Robert Spalek Date: Sun, 30 Apr 2006 13:16:06 +0200 Subject: [PATCH] conf: fix one journalling call --- lib/conf-section.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/conf-section.c b/lib/conf-section.c index 46a7fb3e..4908ca6e 100644 --- a/lib/conf-section.c +++ b/lib/conf-section.c @@ -157,7 +157,7 @@ replace_null_dary(struct cf_item *item, void **ptr) if (*ptr) return; uns size = cf_type_size(item->type, item->u.utype); - cf_journal_block(ptr, size); + cf_journal_block(ptr, sizeof(void*)); if (size <= sizeof(zero)) *ptr = (&zero) + 1; else -- 2.39.5