Module Name:    src
Committed By:   jdc
Date:           Sat Nov 24 20:58:00 UTC 2012

Modified Files:
        src/sys/kern [netbsd-6]: subr_cprng.c

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

Pass correct wait channel string.


To generate a diff of this commit:
cvs rdiff -u -r1.5.2.5 -r1.5.2.6 src/sys/kern/subr_cprng.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/subr_cprng.c
diff -u src/sys/kern/subr_cprng.c:1.5.2.5 src/sys/kern/subr_cprng.c:1.5.2.6
--- src/sys/kern/subr_cprng.c:1.5.2.5	Wed Oct 31 17:30:21 2012
+++ src/sys/kern/subr_cprng.c	Sat Nov 24 20:58:00 2012
@@ -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 @@ cprng_strong_create(const char *const na
 	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);

Reply via email to