svn commit: r202537 - user/kmacy/releng_8_rump/lib/libunet/unet_sys

Kip Macy kmacy at FreeBSD.org
Mon Jan 18 01:49:47 UTC 2010


Author: kmacy
Date: Mon Jan 18 01:49:46 2010
New Revision: 202537
URL: http://svn.freebsd.org/changeset/base/202537

Log:
  implement rw_sysinit

Modified:
  user/kmacy/releng_8_rump/lib/libunet/unet_sys/unet_lock.c

Modified: user/kmacy/releng_8_rump/lib/libunet/unet_sys/unet_lock.c
==============================================================================
--- user/kmacy/releng_8_rump/lib/libunet/unet_sys/unet_lock.c	Mon Jan 18 00:53:21 2010	(r202536)
+++ user/kmacy/releng_8_rump/lib/libunet/unet_sys/unet_lock.c	Mon Jan 18 01:49:46 2010	(r202537)
@@ -113,8 +113,9 @@ struct lock_class lock_class_rw = {
 void
 rw_sysinit(void *arg)
 {
+	struct rw_args *args = arg;
 
-	panic("");
+	rw_init(args->ra_rw, args->ra_desc);
 }
 
 void


More information about the svn-src-user mailing list