diff options
| author | David Xu <davidxu@FreeBSD.org> | 2011-01-06 08:13:30 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2011-01-06 08:13:30 +0000 |
| commit | ebc8e8fd7f76d1c63052a1e512f3c017bcb6e873 (patch) | |
| tree | 0363981991ceaa1e255d1691d39733baf3eabd72 | |
| parent | f264409aea8f53c70bbc2303928a7235f35123a8 (diff) | |
Notes
| -rw-r--r-- | lib/libthr/thread/thr_mutex.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libthr/thread/thr_mutex.c b/lib/libthr/thread/thr_mutex.c index d583a207d6839..7573f28a092e8 100644 --- a/lib/libthr/thread/thr_mutex.c +++ b/lib/libthr/thread/thr_mutex.c @@ -492,11 +492,10 @@ int _mutex_cv_attach(struct pthread_mutex *m, int count) { struct pthread *curthread = _get_curthread(); - int error; ENQUEUE_MUTEX(curthread, m); m->m_count = count; - return (error); + return (0); } int |
