From ac339c5000fb138eb4abf89df63a8cec6ccde4c0 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 1 Dec 2008 13:53:50 -0800 Subject: Minor whitespace Make the quagga upstream and vyatta where only difference was white space. --- lib/hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/hash.c') diff --git a/lib/hash.c b/lib/hash.c index f705e5dd..672327ec 100644 --- a/lib/hash.c +++ b/lib/hash.c @@ -32,7 +32,7 @@ hash_create_size (unsigned int size, unsigned int (*hash_key) (void *), struct hash *hash; hash = XMALLOC (MTYPE_HASH, sizeof (struct hash)); - hash->index = XCALLOC (MTYPE_HASH_INDEX, + hash->index = XCALLOC (MTYPE_HASH_INDEX, sizeof (struct hash_backet *) * size); hash->size = size; hash->hash_key = hash_key; -- cgit v1.2.3