summaryrefslogtreecommitdiffstats
path: root/tests/libcgrouptest.h
diff options
context:
space:
mode:
authorJan Safranek <jsafrane@redhat.com>2009-08-06 14:03:32 +0200
committerDhaval Giani <dhaval@linux.vnet.ibm.com>2009-08-29 10:50:25 +0530
commitba948c63f487789e8c3e8478c0edeb15ff716214 (patch)
tree0d9119b4496109fdd4b39a3c4a3fb089efff6e7d /tests/libcgrouptest.h
parent6f93cd767947d29c51a8d9fefeb7e582b0a324a2 (diff)
downloadlibcg-ba948c63f487789e8c3e8478c0edeb15ff716214.tar.gz
libcg-ba948c63f487789e8c3e8478c0edeb15ff716214.tar.xz
libcg-ba948c63f487789e8c3e8478c0edeb15ff716214.zip
Remove warnings from test_functions.c
Fix following warnings: test_functions.c: In function ‘group_modified’: test_functions.c:435: warning: format ‘%d’ expects type ‘int *’, but argument 3 has type ‘_Bool *’ test_functions.c:440: warning: format ‘%lld’ expects type ‘long long int *’, but argument 3 has type ‘int64_t *’ test_functions.c:445: warning: format ‘%llu’ expects type ‘long long unsigned int *’, but argument 3 has type ‘u_int64_t *’ Signed-off-by: Jan Safranek <jsafrane@redhat.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Diffstat (limited to 'tests/libcgrouptest.h')
-rw-r--r--tests/libcgrouptest.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/libcgrouptest.h b/tests/libcgrouptest.h
index 923828a..98b1ba9 100644
--- a/tests/libcgrouptest.h
+++ b/tests/libcgrouptest.h
@@ -30,6 +30,7 @@
#include <libcgroup.h>
#include "../config.h"
#include <unistd.h>
+#include <inttypes.h>
#define SIZE 100 /* Max size of a message to be printed */
#define NUM_MSGS 20 /* Number of such messsages */