]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
libcgroup: Use the correct data type in the get_all_controller test case
authorDhaval Giani <dhaval@linux.vnet.ibm.com>
Thu, 6 Aug 2009 06:33:18 +0000 (12:03 +0530)
committerDhaval Giani <dhaval@linux.vnet.ibm.com>
Thu, 6 Aug 2009 06:33:18 +0000 (12:03 +0530)
commit0f9535116f2bb200e5d78095aafb22340c449740
tree24973a7e408aa562c9b75bd85e4d6075e7a3b26f
parent4d88dd5f659a834704b4125de6949922d41ca7bb
libcgroup: Use the correct data type in the get_all_controller test case

get_all_controller.c: In function ‘main’:
get_all_controller.c:18: warning: passing argument 1 of ‘cgroup_get_all_controller_begin’ from incompatible pointer type
get_all_controller.c:23: warning: passing argument 1 of ‘cgroup_get_all_controller_next’ from incompatible pointer type
get_all_controller.c:31: warning: passing argument 1 of ‘cgroup_get_all_controller_end’ from incompatible pointer type

The test case used a FILE * instead of a void *. Correct this change (The datatype is opaque to the caller)

Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
tests/get_all_controller.c [new file with mode: 0644]