Source-Changes-HG archive

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

[src/netbsd-6]: src/sys/kern Pull up revision 1.14 (requested by msaitoh in t...



details:   https://anonhg.NetBSD.org/src/rev/3a4201a2aeef
branches:  netbsd-6
changeset: 775530:3a4201a2aeef
user:      jdc <jdc%NetBSD.org@localhost>
date:      Sat Nov 24 20:58:00 2012 +0000

description:
Pull up revision 1.14 (requested by msaitoh in ticket #714).

Pass correct wait channel string.

diffstat:

 sys/kern/subr_cprng.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 93258fbb51c0 -r 3a4201a2aeef sys/kern/subr_cprng.c
--- a/sys/kern/subr_cprng.c     Sat Nov 24 20:53:13 2012 +0000
+++ b/sys/kern/subr_cprng.c     Sat Nov 24 20:58:00 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_cprng.c,v 1.5.2.5 2012/10/31 17:30:21 riz Exp $ */
+/*     $NetBSD: subr_cprng.c,v 1.5.2.6 2012/11/24 20:58:00 jdc Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -46,7 +46,7 @@
 
 #include <sys/cprng.h>
 
-__KERNEL_RCSID(0, "$NetBSD: subr_cprng.c,v 1.5.2.5 2012/10/31 17:30:21 riz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_cprng.c,v 1.5.2.6 2012/11/24 20:58:00 jdc Exp $");
 
 void
 cprng_init(void)
@@ -178,7 +178,7 @@
        mutex_init(&c->mtx, MUTEX_DEFAULT, ipl);
 
        if (c->flags & CPRNG_USE_CV) {
-               cv_init(&c->cv, name);
+               cv_init(&c->cv, (const char *)c->name);
        }
 
        selinit(&c->selq);



Home | Main Index | Thread Index | Old Index