summaryrefslogtreecommitdiffstats
path: root/tests/libcgrouptest01.c
diff options
context:
space:
mode:
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);
}
}