From 9b0feb8599918d012cac34f3057c4066a63ce4de Mon Sep 17 00:00:00 2001 From: Dhaval Giani Date: Fri, 15 May 2009 12:24:11 +0530 Subject: libcgrouptest: Fix the cgroup_dbg macro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit libcgrouptest: Fix the cgroup_dbg macro On compiling with CGROUP_DEBUG enabled, compile was failing. libcgrouptest01.c: In function ‘main’: libcgrouptest01.c:57: error: expected ‘)’ before ‘...’ token libcgrouptest01.c:64: error: expected ‘)’ before ‘...’ token libcgrouptest01.c:68: error: expected ‘)’ before ‘...’ token make[2]: *** [libcgrouptest01.o] Error 1 Fix this error. Signed-off-by: Dhaval Giani --- tests/libcgrouptest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libcgrouptest.h b/tests/libcgrouptest.h index 3c04b6a..4ee9464 100644 --- a/tests/libcgrouptest.h +++ b/tests/libcgrouptest.h @@ -148,7 +148,7 @@ void build_path(char *target, char *mountpoint, pid_t cgrouptest_gettid(); #ifdef CGROUP_DEBUG -#define cgroup_dbg(p...) printf(p...) +#define cgroup_dbg(p...) printf(p) #else #define cgroup_dbg(p...) do {} while (0); #endif -- cgit