From c9a9baab4ff9ef22ee43e5e2b394b4d78980b7e0 Mon Sep 17 00:00:00 2001
From: "Peter S. Mazinger" <ps.m@gmx.net>
Date: Thu, 14 Apr 2011 15:51:10 +0200
Subject: syslog.c: disable locking in setlogmask

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
---
 libc/misc/syslog/syslog.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'libc')

diff --git a/libc/misc/syslog/syslog.c b/libc/misc/syslog/syslog.c
index f79b92fc3..ce4c44a7a 100644
--- a/libc/misc/syslog/syslog.c
+++ b/libc/misc/syslog/syslog.c
@@ -339,9 +339,9 @@ int setlogmask(int pmask)
 
 	omask = LogMask;
 	if (pmask != 0) {
-		__UCLIBC_MUTEX_LOCK(mylock);
+/*		__UCLIBC_MUTEX_LOCK(mylock);*/
 		LogMask = pmask;
-		__UCLIBC_MUTEX_UNLOCK(mylock);
+/*		__UCLIBC_MUTEX_UNLOCK(mylock);*/
 	}
 	return omask;
 }
-- 
cgit v1.2.3