aboutsummaryrefslogtreecommitdiff
path: root/usrsctplib/user_environment.h
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@fh-muenster.de>2015-11-03 20:53:37 +0100
committerMichael Tuexen <tuexen@fh-muenster.de>2015-11-03 20:53:37 +0100
commit7feb402cea900a0a8179209490dda26534f877bf (patch)
tree27b356c2c84059ce342395213390c7b143ecd742 /usrsctplib/user_environment.h
parent1af6ee6313748c54654e4309bdff74fb99fd7bbc (diff)
downloadusrsctp-7feb402cea900a0a8179209490dda26534f877bf.tar.gz
Don't use named variadic macros.
Diffstat (limited to 'usrsctplib/user_environment.h')
-rwxr-xr-xusrsctplib/user_environment.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usrsctplib/user_environment.h b/usrsctplib/user_environment.h
index 6de9d9a5..33d4f01b 100755
--- a/usrsctplib/user_environment.h
+++ b/usrsctplib/user_environment.h
@@ -86,9 +86,9 @@ extern u_short ip_id;
#define IPV6_VERSION 0x60
#endif
#if defined(INVARIANTS)
-#define panic(args...) \
+#define panic(...) \
do { \
- SCTP_PRINTF(args);\
+ SCTP_PRINTF(__VA_ARGS__);\
exit(1); \
} while (0)
#endif