From 8596ee6d82bbf0c5cb3ef5e974a4febca273f88b Mon Sep 17 00:00:00 2001 From: Alexander Langer Date: Sun, 29 Dec 1996 02:38:50 +0000 Subject: [PATCH] _thread_kern_sig_unblock takes an integer, not a reference. Submitted by: John Birrell --- lib/libc/stdlib/malloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c index b1cdb2532888..24a4f64c6bed 100644 --- a/lib/libc/stdlib/malloc.c +++ b/lib/libc/stdlib/malloc.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: malloc.c,v 1.17 1996/10/26 08:19:07 phk Exp $ + * $Id: malloc.c,v 1.18 1996/10/29 20:35:39 phk Exp $ * */ @@ -1085,7 +1085,7 @@ ifree(void *ptr) #include "pthread_private.h" static int malloc_lock; #define THREAD_LOCK() _thread_kern_sig_block(&malloc_lock); -#define THREAD_UNLOCK() _thread_kern_sig_unblock(&malloc_lock); +#define THREAD_UNLOCK() _thread_kern_sig_unblock(malloc_lock); #else #define THREAD_LOCK() #define THREAD_UNLOCK()