summaryrefslogtreecommitdiffstats
path: root/lib/libthr
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2006-12-04 14:27:42 +0000
committerdavidxu <davidxu@FreeBSD.org>2006-12-04 14:27:42 +0000
commit5ad129a10abf4172d450a052854e8e87f89fbe4c (patch)
treeae60613a89dd00030e1758259d6ed1edf3a97446 /lib/libthr
parentcbb0fd817469a7d2bc7e1fb808addd5ca1dbfbfd (diff)
downloadFreeBSD-src-5ad129a10abf4172d450a052854e8e87f89fbe4c.zip
FreeBSD-src-5ad129a10abf4172d450a052854e8e87f89fbe4c.tar.gz
Fix typo, I was using a wrong header file, and the typo is not detected
by compiler.
Diffstat (limited to 'lib/libthr')
-rw-r--r--lib/libthr/thread/thr_umtx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_umtx.c b/lib/libthr/thread/thr_umtx.c
index 778ac80..7529c85 100644
--- a/lib/libthr/thread/thr_umtx.c
+++ b/lib/libthr/thread/thr_umtx.c
@@ -115,7 +115,7 @@ _thr_ucond_wait(struct ucond *cv, struct umutex *m,
return (ETIMEDOUT);
}
if (_umtx_op(cv, UMTX_OP_CV_WAIT,
- check_unparking ? UMTX_CHECK_UNPAKING : 0,
+ check_unparking ? UMTX_CHECK_UNPARKING : 0,
m, __DECONST(void*, timeout)) == 0) {
return (0);
}
OpenPOWER on IntegriCloud