diff options
Diffstat (limited to 'sys/contrib/ngatm/netnatm/sig/sig_print.c')
-rw-r--r-- | sys/contrib/ngatm/netnatm/sig/sig_print.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/contrib/ngatm/netnatm/sig/sig_print.c b/sys/contrib/ngatm/netnatm/sig/sig_print.c index 252ba07d96ebf..af996128e7eab 100644 --- a/sys/contrib/ngatm/netnatm/sig/sig_print.c +++ b/sys/contrib/ngatm/netnatm/sig/sig_print.c @@ -27,7 +27,7 @@ * Author: Hartmut Brandt <harti@freebsd.org> * Kendy Kutzner <kutzner@fokus.fraunhofer.de> * - * $Begemot: libunimsg/netnatm/sig/sig_print.c,v 1.5 2004/07/08 08:22:22 brandt Exp $ + * $Begemot: libunimsg/netnatm/sig/sig_print.c,v 1.6 2004/08/05 07:11:02 brandt Exp $ */ #include <sys/types.h> @@ -56,7 +56,7 @@ const char * uni_strerr(u_int err) { static const char *const errstr[] = { -#define DEF(NAME, VAL, STR) [UNIAPI_##NAME] STR, +#define DEF(NAME, VAL, STR) [UNIAPI_##NAME] = STR, UNIAPI_DEF_ERRORS(DEF) #undef DEF }; @@ -69,7 +69,7 @@ UNIAPI_DEF_ERRORS(DEF) return (errstr[err]); } -#define D(M) [M] #M +#define D(M) [M] = #M static const char *const msgs[] = { D(UNIAPI_ERROR), D(UNIAPI_CALL_CREATED), |