From 001faf3269541f0231482e0fccc846f62f8930b2 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Wed, 13 May 2009 17:53:17 +0000 Subject: Replace gcc variadic macro extension with C99 version Signed-off-by: Blue Swirl --- tests/linux-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/linux-test.c') diff --git a/tests/linux-test.c b/tests/linux-test.c index 19c0e1abb9..934b7eeefb 100644 --- a/tests/linux-test.c +++ b/tests/linux-test.c @@ -65,7 +65,7 @@ int __chk_error(const char *filename, int line, int ret) return ret; } -#define error(fmt, args...) error1(__FILE__, __LINE__, fmt, ##args) +#define error(fmt, ...) error1(__FILE__, __LINE__, fmt, ## __VA_ARGS__) #define chk_error(ret) __chk_error(__FILE__, __LINE__, (ret)) -- cgit v1.2.3