diff options
author | harti <harti@FreeBSD.org> | 2004-08-11 12:21:36 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2004-08-11 12:21:36 +0000 |
commit | 222df4eab28100da3701513163df9b46131f9cd8 (patch) | |
tree | 76d33d704f1b79d5d89f962a16b0040947bb4deb /sys/contrib/ngatm/netnatm/sig/sig_print.c | |
parent | 00f69125b45f694e103a426f35b5fe3ff9d8fd6e (diff) | |
download | FreeBSD-src-222df4eab28100da3701513163df9b46131f9cd8.zip FreeBSD-src-222df4eab28100da3701513163df9b46131f9cd8.tar.gz |
Virgin import of NgATM shared kernel/user part 1.1
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 252ba07..af99612 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), |