summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2004-12-06 20:41:09 +0000
committerpeter <peter@FreeBSD.org>2004-12-06 20:41:09 +0000
commit5d3a1b43b051024ffe773ad32e4aab875a0711e0 (patch)
treecf3322270553e1454b3d4de7918ecdad90efd078 /lib
parente6c6f2ab9a58104c774e8ba9b6989ae444f76fe6 (diff)
downloadFreeBSD-src-5d3a1b43b051024ffe773ad32e4aab875a0711e0.zip
FreeBSD-src-5d3a1b43b051024ffe773ad32e4aab875a0711e0.tar.gz
Fix inverted #ifdef that I added. Who had the pointy hat last?
Submitted by: kan
Diffstat (limited to 'lib')
-rw-r--r--lib/libthr/arch/i386/i386/_setcurthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/arch/i386/i386/_setcurthread.c b/lib/libthr/arch/i386/i386/_setcurthread.c
index 1f3b20a..d91c64f 100644
--- a/lib/libthr/arch/i386/i386/_setcurthread.c
+++ b/lib/libthr/arch/i386/i386/_setcurthread.c
@@ -74,7 +74,7 @@ _set_curthread(ucontext_t *uc, struct pthread *thr, int *err)
*err = 0;
if (uc == NULL && thr->arch_id != NULL) {
-#ifndef COMPAT_32BIT
+#ifdef COMPAT_32BIT
_amd64_set_gsbase(thr->arch_id);
#endif
return (thr->arch_id);
OpenPOWER on IntegriCloud