diff options
author | Martin Mares <mj@ucw.cz> | 1998-05-26 21:43:45 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1998-05-26 21:43:45 +0000 |
commit | fe82105e5dc2077c16da802f721160443e0c6fc2 (patch) | |
tree | 02499b9c9c976832fbddde5f1238ee4e1c07ee7e /nest/rt-fib.c | |
parent | 8a48ecb8b15e827f779d4b9fb080dff280b99872 (diff) |
Debug messages.
Diffstat (limited to 'nest/rt-fib.c')
-rw-r--r-- | nest/rt-fib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/rt-fib.c b/nest/rt-fib.c index d7350ae9..a6b5d57d 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; |