diff options
author | Shuah Khan <shuah.kh@samsung.com> | 2014-06-25 10:03:33 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-11 18:11:18 -0700 |
commit | ef9feb682dea988f731a2e5a2e8e498aba6a9da7 (patch) | |
tree | f615b86193672f432d1d2ca436fe5d96597941e9 /tools/perf/scripts/python | |
parent | f15fed3da83212da8fa939ec70e38033ea35f8aa (diff) |
tools: fix mq_open_tests compile warnings
Fix several compile warnings - these are repeats like the ones
below:
gcc -O2 -lrt mq_open_tests.c -o mq_open_tests
mq_open_tests.c: In function ‘main’:
mq_open_tests.c:295:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘rlim_t’ [-Wformat=]
printf("\tRLIMIT_MSGQUEUE(soft):\t\t%d\n", saved_limits.rlim_cur);
^
mq_open_tests.c: In function ‘shutdown’:
mq_open_tests.c:83:9: warning: ignoring return value of ‘seteuid’, declared with attribute warn_unused_result [-Wunused-result]
seteuid(0);
Signed-off-by: Shuah Khan <shuah.kh@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions