]> mj.ucw.cz Git - libucw.git/commitdiff
conf: fix one journalling call
authorRobert Spalek <robert@ucw.cz>
Sun, 30 Apr 2006 11:16:06 +0000 (13:16 +0200)
committerRobert Spalek <robert@ucw.cz>
Sun, 30 Apr 2006 11:16:06 +0000 (13:16 +0200)
lib/conf-section.c

index 46a7fb3ee485d20346411c82bb582e03f6711b8e..4908ca6e4e77912358b30e5837a84ea29a0c7a29 100644 (file)
@@ -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