|
@@ -128,7 +128,7 @@ static void _vsyslog(int priority, const char *message, va_list ap)
|
|
static void __vsyslog(int priority, const char *message, va_list ap)
|
|
static void __vsyslog(int priority, const char *message, va_list ap)
|
|
{
|
|
{
|
|
int cs;
|
|
int cs;
|
|
- if (!(log_mask & LOG_MASK(priority&7)) || (priority&~0xff)) return;
|
|
|
|
|
|
+ if (!(log_mask & LOG_MASK(priority&7)) || (priority&~0x3ff)) return;
|
|
pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &cs);
|
|
pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &cs);
|
|
LOCK(lock);
|
|
LOCK(lock);
|
|
_vsyslog(priority, message, ap);
|
|
_vsyslog(priority, message, ap);
|