parlib: Expand our printf hacks
[akaros.git] / kern / src / hashtable.c
index 5f24cc0..eff77cb 100644 (file)
@@ -39,8 +39,10 @@ struct kmem_cache *hentry_cache;
 /* Call this once on bootup, after initializing the slab allocator.  */
 void hashtable_init(void)
 {
-       hentry_cache = kmem_cache_create("hash_entry", sizeof(struct hash_entry),
-                                        __alignof__(struct hash_entry), 0, 0, 0);
+       hentry_cache = kmem_cache_create("hash_entry",
+                                        sizeof(struct hash_entry),
+                                        __alignof__(struct hash_entry), 0,
+                                        NULL, 0, 0, NULL);
 }
 
 /* Common hash/equals functions.  Don't call these directly. */