summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-05-26 23:43:45 +0200
committerMartin Mares <mj@ucw.cz>1998-05-26 23:43:45 +0200
commitfe82105e5dc2077c16da802f721160443e0c6fc2 (patch)
tree02499b9c9c976832fbddde5f1238ee4e1c07ee7e
parent8a48ecb8b15e827f779d4b9fb080dff280b99872 (diff)
downloadbird-fe82105e5dc2077c16da802f721160443e0c6fc2.tar
bird-fe82105e5dc2077c16da802f721160443e0c6fc2.zip
Debug messages.
-rw-r--r--nest/rt-fib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/rt-fib.c b/nest/rt-fib.c
index d7350ae..a6b5d57 100644
--- a/nest/rt-fib.c
+++ b/nest/rt-fib.c
@@ -28,7 +28,7 @@ fib_ht_alloc(struct fib *f)
f->entries_min = f->hash_size HASH_LO_MARK;
if (f->entries_min < HASH_LO_MIN)
f->entries_min = 0;
- DBG("Allocating FIB: %d entries, %d low, %d high", f->hash_size, f->entries_min, f->entries_max);
+ DBG("Allocating FIB: %d entries, %d low, %d high\n", f->hash_size, f->entries_min, f->entries_max);
f->hash_table = mb_alloc(f->fib_pool, f->hash_size * sizeof(struct fib_node *));
bzero(f->hash_table, f->hash_size * sizeof(struct fib_node *));
}
@@ -67,7 +67,7 @@ fib_rehash(struct fib *f, unsigned new)
old = f->hash_size;
m = h = f->hash_table;
- DBG("Re-hashing FIB from %d to %d", old, new);
+ DBG("Re-hashing FIB from %d to %d\n", old, new);
f->hash_size = new;
fib_ht_alloc(f);
n = f->hash_table;