$OpenBSD: patch-modules_dbparser_patternize_c,v 1.1 2013/11/30 10:02:12 steven Exp $
--- modules/dbparser/patternize.c.orig	Tue Aug 13 11:25:18 2013
+++ modules/dbparser/patternize.c	Wed Oct  9 23:26:32 2013
@@ -119,9 +119,8 @@ ptz_find_frequent_words(GPtrArray *logs, guint support
           msg_progress("Finding frequent words",
                        evt_tag_str("phase", "caching"),
                        NULL);
-          srand(time(NULL));
           cachesize = (guint) ((logs->len * PTZ_WORDLIST_CACHE));
-          cacheseed = rand();
+          cacheseed = arc4random();
           wordlist_cache = g_new0(int, cachesize);
         }
       else
