aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@FreeBSD.org>2009-06-24 12:01:10 +0000
committerRoman Divacky <rdivacky@FreeBSD.org>2009-06-24 12:01:10 +0000
commit8419ef9a1e574f91bdc06374d8680e05ca3105fe (patch)
treec72c960aa82100e5161c03610185b2fb6a792be3
parentd376755655baefb1fc7eb228337626ec24dd24bc (diff)
Notes
-rw-r--r--sys/contrib/ngatm/netnatm/sig/sig_uni.c2
-rw-r--r--sys/netgraph/atm/uni/ng_uni.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/contrib/ngatm/netnatm/sig/sig_uni.c b/sys/contrib/ngatm/netnatm/sig/sig_uni.c
index ea2f70b67fa5..e620fa7521c0 100644
--- a/sys/contrib/ngatm/netnatm/sig/sig_uni.c
+++ b/sys/contrib/ngatm/netnatm/sig/sig_uni.c
@@ -109,7 +109,7 @@ static const char *sig_names[] = {
};
static const char *verb_names[] = {
-# define UNI_DEBUG_DEFINE(D) [UNI_FAC_##D] #D,
+# define UNI_DEBUG_DEFINE(D) [UNI_FAC_##D] = #D,
UNI_DEBUG_FACILITIES
# undef UNI_DEBUG_DEFINE
};
diff --git a/sys/netgraph/atm/uni/ng_uni.c b/sys/netgraph/atm/uni/ng_uni.c
index 92b4ef71c686..e6fa04ba55a3 100644
--- a/sys/netgraph/atm/uni/ng_uni.c
+++ b/sys/netgraph/atm/uni/ng_uni.c
@@ -743,7 +743,7 @@ uni_verbose(struct uni *uni, void *varg, u_int fac, const char *fmt, ...)
va_list ap;
static char *facnames[] = {
-#define UNI_DEBUG_DEFINE(D) [UNI_FAC_##D] #D,
+#define UNI_DEBUG_DEFINE(D) [UNI_FAC_##D] = #D,
UNI_DEBUG_FACILITIES
#undef UNI_DEBUG_DEFINE
};