diff -r 66c281524c98 -r c89695ed29f0 librazor/util.c --- a/librazor/util.c Tue Jan 06 17:33:37 2009 +0000 +++ b/librazor/util.c Thu Jan 08 17:36:50 2009 +0000 @@ -194,7 +194,7 @@ mp = map; mstart = map; mend = map + nelem; - pivot = base + (random() % nelem) * size; + pivot = base + (rand() % nelem) * size; while (p < end) { result = ctx->compare(p, pivot, ctx->data);