summaryrefslogtreecommitdiffstats
path: root/tests/libcgrouptest01.c
diff options
context:
space:
mode:
authorDhaval Giani <dhaval@linux.vnet.ibm.com>2009-02-27 20:25:36 +0000
committerDhaval Giani <dhaval@linux.vnet.ibm.com>2009-02-27 20:25:36 +0000
commit8044128fa6322f391d4629072954e24ef1c72e4f (patch)
tree00b99f9a142c379d3bf63620c8a98753cbe82172 /tests/libcgrouptest01.c
parentca75be6fc18f04a2bfac1441bc82d970832d66ea (diff)
downloadlibcg-8044128fa6322f391d4629072954e24ef1c72e4f.tar.gz
libcg-8044128fa6322f391d4629072954e24ef1c72e4f.tar.xz
libcg-8044128fa6322f391d4629072954e24ef1c72e4f.zip
libcgroup test: Change dbg to cgroup_dbg
Since cgroup_dbg is defined on the basis of CGROUP_DBG, we get libcgrouptest.h and libcg_ba.cpp to include config.h and change dbg to cgroup_dbg. Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> Cc: Balbir Singh <balbir@linux.vnet.ibm.com> Cc: Sudhir Kumar <skumar@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@354 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'tests/libcgrouptest01.c')
-rw-r--r--tests/libcgrouptest01.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/libcgrouptest01.c b/tests/libcgrouptest01.c
index d489d9c..acc229a 100644
--- a/tests/libcgrouptest01.c
+++ b/tests/libcgrouptest01.c
@@ -54,18 +54,19 @@ int main(int argc, char *argv[])
exit(1);
}
fs_mounted = atoi(argv[1]);
- dbg("C:DBG: fs_mounted as recieved from script=%d\n", fs_mounted);
+ cgroup_dbg("C:DBG: fs_mounted as recieved from script=%d\n",
+ fs_mounted);
/* All possible controller will be element of an enum */
if (fs_mounted) {
ctl1 = atoi(argv[2]);
ctl2 = atoi(argv[3]);
strncpy(mountpoint, argv[4], sizeof(mountpoint));
- dbg("C:DBG: mountpoint1 as recieved from script=%s\n",
+ cgroup_dbg("C:DBG: mountpoint1 as recieved from script=%s\n",
mountpoint);
if (fs_mounted == FS_MULTI_MOUNTED) {
strncpy(mountpoint2, argv[5], sizeof(mountpoint2));
- dbg("C:DBG: mountpoint2 as recieved from script=%s\n",
- mountpoint2);
+ cgroup_dbg("C:DBG: mountpoint2 as recieved from "
+ "script=%s\n", mountpoint2);
}
}