diff options
author | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2009-05-15 12:24:11 +0530 |
---|---|---|
committer | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2009-05-18 13:44:40 +0530 |
commit | 9b0feb8599918d012cac34f3057c4066a63ce4de (patch) | |
tree | 9bfec29405b2d32e7a8dc08542050f91095af1d6 | |
parent | 20f24274f8e4a842621189af680044e0a4948bdd (diff) | |
download | libcg-9b0feb8599918d012cac34f3057c4066a63ce4de.tar.gz libcg-9b0feb8599918d012cac34f3057c4066a63ce4de.tar.xz libcg-9b0feb8599918d012cac34f3057c4066a63ce4de.zip |
libcgrouptest: Fix the cgroup_dbg macro
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 <dhaval@linux.vnet.ibm.com>
-rw-r--r-- | tests/libcgrouptest.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |