Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Pass correct wait channel string.
details: https://anonhg.NetBSD.org/src/rev/b6cda4bfc0a6
branches: trunk
changeset: 782785:b6cda4bfc0a6
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Tue Nov 20 11:06:27 2012 +0000
description:
Pass correct wait channel string.
diffstat:
sys/kern/subr_cprng.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 143eba70f4e8 -r b6cda4bfc0a6 sys/kern/subr_cprng.c
--- a/sys/kern/subr_cprng.c Tue Nov 20 10:43:21 2012 +0000
+++ b/sys/kern/subr_cprng.c Tue Nov 20 11:06:27 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_cprng.c,v 1.13 2012/10/27 17:34:07 matt Exp $ */
+/* $NetBSD: subr_cprng.c,v 1.14 2012/11/20 11:06:27 msaitoh 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.13 2012/10/27 17:34:07 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_cprng.c,v 1.14 2012/11/20 11:06:27 msaitoh 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