X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fbitsig.c;h=8ffe8dbc9340d5f441afb0b92ffbc2df07855e17;hb=5a78c3505ae7fa76a061e26676450049ec5946d5;hp=9b072e1fc3dcc5c038bfd00645779b5cd4fd101e;hpb=59e023bb0dc1868bb2b58d1a648e2c9d9dbb4c0e;p=libucw.git diff --git a/lib/bitsig.c b/lib/bitsig.c index 9b072e1f..8ffe8dbc 100644 --- a/lib/bitsig.c +++ b/lib/bitsig.c @@ -72,7 +72,7 @@ bitsig_init(uns perrlog, uns maxn) b->maxn = maxn; b->max_m_mult = (0xffffffff / m) * m; bzero(b->array, mbytes); - log(L_DEBUG, "Initialized bitsig array with l=%d, m=%u (%u KB), expecting %d items", b->l, b->m, (mbytes+1023)/1024, maxn); + msg(L_DEBUG, "Initialized bitsig array with l=%d, m=%u (%u KB), expecting %d items", b->l, b->m, (mbytes+1023)/1024, maxn); return b; } @@ -139,7 +139,7 @@ bitsig_insert(struct bitsig *b, byte *item) } } if (!was && b->n++ == b->maxn+1) - log(L_ERROR, "bitsig: Too many items inserted, error rate will be higher than estimated!"); + msg(L_ERROR, "bitsig: Too many items inserted, error rate will be higher than estimated!"); return was; }