summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
};