summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-05-02 17:46:30 +0000
committerache <ache@FreeBSD.org>1995-05-02 17:46:30 +0000
commit1f6da08da41f03d1025fef6f3dc176d0ead34dc5 (patch)
treeebc4fcfe5bc189596589488d38ba3e63c07dc476 /lib
parentd75bb14f2f79ffa3d49c541d352c723bfc85bb59 (diff)
downloadFreeBSD-src-1f6da08da41f03d1025fef6f3dc176d0ead34dc5.zip
FreeBSD-src-1f6da08da41f03d1025fef6f3dc176d0ead34dc5.tar.gz
Fix bracket error for LogMask
Submitted by: Ruslan Belkin <rus@home2.UA.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/syslog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/syslog.c b/lib/libc/gen/syslog.c
index ba82e23..6eb779b 100644
--- a/lib/libc/gen/syslog.c
+++ b/lib/libc/gen/syslog.c
@@ -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;
OpenPOWER on IntegriCloud