diff options
author | rdivacky <rdivacky@FreeBSD.org> | 2009-06-24 12:01:10 +0000 |
---|---|---|
committer | rdivacky <rdivacky@FreeBSD.org> | 2009-06-24 12:01:10 +0000 |
commit | 841360d91c453a8c5ac107cf8463b159146ecefd (patch) | |
tree | c72c960aa82100e5161c03610185b2fb6a792be3 /sys/netgraph/atm | |
parent | 5193abc7c8dbc7b90b55c1d04f2e2d21739b83c6 (diff) | |
download | FreeBSD-src-841360d91c453a8c5ac107cf8463b159146ecefd.zip FreeBSD-src-841360d91c453a8c5ac107cf8463b159146ecefd.tar.gz |
Use proper form of gnu designated initalizers. This lets
clang compile this files.
Approved by: ed (mentor)
Silence from: harti (maintainer?)
Diffstat (limited to 'sys/netgraph/atm')
-rw-r--r-- | sys/netgraph/atm/uni/ng_uni.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/atm/uni/ng_uni.c b/sys/netgraph/atm/uni/ng_uni.c index 92b4ef7..e6fa04b 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 }; |