Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jan 2010 12:48:46 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r202883 - head/lib/libc/gen
Message-ID:  <201001231248.o0NCmk4v008877@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Jan 23 12:48:46 2010
New Revision: 202883
URL: http://svn.freebsd.org/changeset/base/202883

Log:
  Reapply r201145 to lib/libc/gen/sem.c

Modified:
  head/lib/libc/gen/sem.c

Modified: head/lib/libc/gen/sem.c
==============================================================================
--- head/lib/libc/gen/sem.c	Sat Jan 23 11:45:35 2010	(r202882)
+++ head/lib/libc/gen/sem.c	Sat Jan 23 12:48:46 2010	(r202883)
@@ -106,7 +106,7 @@ typedef struct sem* sem_t;
 static sem_t sem_alloc(unsigned int value, semid_t semid, int system_sem);
 static void  sem_free(sem_t sem);
 
-static LIST_HEAD(, sem) named_sems = LIST_HEAD_INITIALIZER(&named_sems);
+static LIST_HEAD(, sem) named_sems = LIST_HEAD_INITIALIZER(named_sems);
 static pthread_mutex_t named_sems_mtx = PTHREAD_MUTEX_INITIALIZER;
 
 FB10_COMPAT(_libc_sem_init_compat, sem_init);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001231248.o0NCmk4v008877>