diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-04-14 15:51:10 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:37 +0200 |
commit | c9a9baab4ff9ef22ee43e5e2b394b4d78980b7e0 (patch) | |
tree | 6053b06042ef5eda0d0a5414fcd7efbed3f604ee /libc | |
parent | 631049ff3a01d29da3248a62ac5a412d55490e03 (diff) |
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>
Diffstat (limited to 'libc')
-rw-r--r-- | libc/misc/syslog/syslog.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |