kernel-fxtec-pro1x/tools/testing/selftests/mqueue
Shuah Khan ef9feb682d 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>
2014-07-11 18:11:18 -07:00
..
.gitignore
Makefile mqueue selftests: print failure status instead of cause make error 2012-12-17 17:15:26 -08:00
mq_open_tests.c tools: fix mq_open_tests compile warnings 2014-07-11 18:11:18 -07:00
mq_perf_tests.c tools: fix mq_perf_tests compile warnings 2014-07-11 18:11:18 -07:00