Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/cdplay kill unnecessary srandom() call which crept i...



details:   https://anonhg.NetBSD.org/src/rev/19513077e03a
branches:  trunk
changeset: 772468:19513077e03a
user:      drochner <drochner%NetBSD.org@localhost>
date:      Wed Jan 04 17:07:20 2012 +0000

description:
kill unnecessary srandom() call which crept in in rev. 1.33

diffstat:

 usr.bin/cdplay/cdplay.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r f393295d32a5 -r 19513077e03a usr.bin/cdplay/cdplay.c
--- a/usr.bin/cdplay/cdplay.c   Wed Jan 04 17:01:52 2012 +0000
+++ b/usr.bin/cdplay/cdplay.c   Wed Jan 04 17:07:20 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cdplay.c,v 1.44 2011/11/26 23:20:41 christos Exp $     */
+/*     $NetBSD: cdplay.c,v 1.45 2012/01/04 17:07:20 drochner Exp $     */
 
 /*
  * Copyright (c) 1999, 2000, 2001 Andrew Doran.
@@ -40,7 +40,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: cdplay.c,v 1.44 2011/11/26 23:20:41 christos Exp $");
+__RCSID("$NetBSD: cdplay.c,v 1.45 2012/01/04 17:07:20 drochner Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -245,7 +245,6 @@
        }
 
        opencd();
-       srandom((u_long)time(NULL));
        da.afd = -1;
 
        if (argc > 0) {



Home | Main Index | Thread Index | Old Index