diff options
author | kib <kib@FreeBSD.org> | 2014-08-13 05:47:49 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2014-08-13 05:47:49 +0000 |
commit | 628dc68fb5739e44312c8e0e172675d0f8b6575f (patch) | |
tree | 96ab032bc5ca241c6c3dc9490a773889104acffc /lib/libthr | |
parent | 065b68902bb825cb43ef5a798cf8a788d0b10f77 (diff) | |
download | FreeBSD-src-628dc68fb5739e44312c8e0e172675d0f8b6575f.zip FreeBSD-src-628dc68fb5739e44312c8e0e172675d0f8b6575f.tar.gz |
Style.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Diffstat (limited to 'lib/libthr')
-rw-r--r-- | lib/libthr/thread/thr_stack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_stack.c b/lib/libthr/thread/thr_stack.c index 15a9c82..5f8cd4e 100644 --- a/lib/libthr/thread/thr_stack.c +++ b/lib/libthr/thread/thr_stack.c @@ -268,7 +268,7 @@ _thr_stack_alloc(struct pthread_attr *attr) /* Map the stack and guard page together, and split guard page from allocated space: */ - if ((stackaddr = mmap(stackaddr, stacksize+guardsize, + if ((stackaddr = mmap(stackaddr, stacksize + guardsize, _rtld_get_stack_prot(), MAP_STACK, -1, 0)) != MAP_FAILED && (guardsize == 0 || |