summaryrefslogtreecommitdiffstats
path: root/sys/security/lomac
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-06-01 18:45:33 +0000
committeralfred <alfred@FreeBSD.org>2002-06-01 18:45:33 +0000
commit15e61a8561536acfdf033afd711536604178ee2c (patch)
tree78777061b5740fcec54ab39d62760fbaafd595d0 /sys/security/lomac
parent117df0a4040e1ca32204660f9bc770e29d95ea8f (diff)
downloadFreeBSD-src-15e61a8561536acfdf033afd711536604178ee2c.zip
FreeBSD-src-15e61a8561536acfdf033afd711536604178ee2c.tar.gz
Get rid of warnings, there's no need to do preprocessor concatination of
things with commas and equal signs.
Diffstat (limited to 'sys/security/lomac')
-rw-r--r--sys/security/lomac/kernel_log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/lomac/kernel_log.c b/sys/security/lomac/kernel_log.c
index 56665f5..be6f4e4 100644
--- a/sys/security/lomac/kernel_log.c
+++ b/sys/security/lomac/kernel_log.c
@@ -51,9 +51,9 @@
SYSCTL_NODE(_kern, OID_AUTO, lomac, CTLFLAG_RW, 0, "LOMAC");
SYSCTL_NODE(_kern_lomac, OID_AUTO, verbose, CTLFLAG_RW, 0, "LOMAC verbosity");
#define VERBOSITY_SETTING(level) \
- unsigned int lomac_verbose_##level## = 1; \
+ unsigned int lomac_verbose_##level = 1; \
SYSCTL_UINT(_kern_lomac_verbose, OID_AUTO, level, \
- CTLFLAG_RW, &lomac_verbose_##level##, 1, "")
+ CTLFLAG_RW, &lomac_verbose_##level, 1, "")
#include "kernel_log.h"
/* sbuf_start()
OpenPOWER on IntegriCloud