Fix bracket error for LogMask

Submitted by: Ruslan Belkin <rus@home2.UA.net>
This commit is contained in:
Andrey A. Chernov 1995-05-02 17:46:30 +00:00
parent 34688a8bd5
commit ff17906bc9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8226

View File

@ -109,7 +109,7 @@ vsyslog(pri, fmt, ap)
}
/* Check priority against setlogmask values. */
if (!LOG_MASK(LOG_PRI(pri)) & LogMask)
if (!(LOG_MASK(LOG_PRI(pri)) & LogMask))
return;
saved_errno = errno;