Revision: 333 Author: mmo...@tildeslash.com Date: Mon Feb 28 12:12:17 2011 Log: use srandom instead of srand (obsolete) http://code.google.com/p/monit/source/detail?r=333
Modified: /trunk/monitor.c ======================================= --- /trunk/monitor.c Mon Feb 28 08:00:47 2011 +++ /trunk/monitor.c Mon Feb 28 12:12:17 2011 @@ -230,7 +230,7 @@ /* * Initialize the random number generator */ - srand(time(NULL) + getpid()); + srandom(time(NULL) + getpid()); /* * Initialize the Runtime mutex. This mutex _______________________________________________ monit-dev mailing list monit-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/monit-dev