summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2015-04-22 16:51:21 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2015-04-22 16:51:21 +0000
commit9acf5917d3b470283717e03db1dba310bc634eaf (patch)
treefeeedc9c28c273828005bd84f4e7278f21c2fa31
parentd9db52256e500f4f4d86e0f32114c7c459429fbf (diff)
Notes
-rw-r--r--lib/libthr/thread/thr_clean.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_clean.c b/lib/libthr/thread/thr_clean.c
index dc5b0c7ee17d0..f2007264a2363 100644
--- a/lib/libthr/thread/thr_clean.c
+++ b/lib/libthr/thread/thr_clean.c
@@ -84,7 +84,7 @@ _pthread_cleanup_push(void (*routine) (void *), void *arg)
curthread->unwind_disabled = 1;
#endif
if ((newbuf = (struct pthread_cleanup *)
- malloc(sizeof(struct _pthread_cleanup_info))) != NULL) {
+ malloc(sizeof(struct pthread_cleanup))) != NULL) {
newbuf->routine = routine;
newbuf->routine_arg = arg;
newbuf->onheap = 1;