aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2004-12-06 20:41:09 +0000
committerPeter Wemm <peter@FreeBSD.org>2004-12-06 20:41:09 +0000
commit37771efde6fc4bbcc5b413c603691bd4b374c30d (patch)
treecf3322270553e1454b3d4de7918ecdad90efd078 /lib
parent05af0310f20b0aef8faf405435ff6224f5b31801 (diff)
downloadsrc-37771efde6fc4bbcc5b413c603691bd4b374c30d.tar.gz
src-37771efde6fc4bbcc5b413c603691bd4b374c30d.zip
Fix inverted #ifdef that I added. Who had the pointy hat last?
Submitted by: kan
Notes
Notes: svn path=/head/; revision=138494
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 1f3b20adc226..d91c64fc3620 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);