summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2006-08-31 19:06:30 +0000
committermarcel <marcel@FreeBSD.org>2006-08-31 19:06:30 +0000
commitc088f26c25233f120328b8c5e839f56324626b96 (patch)
tree0435c6dc0c74414a266f2bc4508a00af6559a5e1 /lib
parent8f6bfd83f73ef95be78b23c16fdd4ab0fffa3130 (diff)
downloadFreeBSD-src-c088f26c25233f120328b8c5e839f56324626b96.zip
FreeBSD-src-c088f26c25233f120328b8c5e839f56324626b96.tar.gz
Fix harmless bug: sizeof(tcb) equals sizeof(void*) not sizeof(struct tcb).
The argument is (currently) not used by _rtld_free_tls().
Diffstat (limited to 'lib')
-rw-r--r--lib/libthr/arch/ia64/ia64/pthread_md.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/arch/ia64/ia64/pthread_md.c b/lib/libthr/arch/ia64/ia64/pthread_md.c
index a6f7def..a662949 100644
--- a/lib/libthr/arch/ia64/ia64/pthread_md.c
+++ b/lib/libthr/arch/ia64/ia64/pthread_md.c
@@ -54,5 +54,5 @@ _tcb_ctor(struct pthread *thread, int initial)
void
_tcb_dtor(struct tcb *tcb)
{
- _rtld_free_tls(tcb, sizeof(tcb), 16);
+ _rtld_free_tls(tcb, sizeof(struct tcb), 16);
}
OpenPOWER on IntegriCloud