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 <[email protected]> --- tests/libcgrouptest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: libcg/tests/libcgrouptest.h =================================================================== --- libcg.orig/tests/libcgrouptest.h +++ libcg/tests/libcgrouptest.h @@ -148,7 +148,7 @@ void build_path(char *target, char *moun 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 -- regards, Dhaval ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
