From: Robert Spalek Date: Sun, 30 Apr 2006 11:16:06 +0000 (+0200) Subject: conf: fix one journalling call X-Git-Tag: holmes-import~645^2~5 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=4a1e23ef2fadbb534fda085be26da0bc34690641;p=libucw.git conf: fix one journalling call --- 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