From: Shuah Khan Date: Wed, 25 Jun 2014 16:03:33 +0000 (-0600) Subject: tools: fix mq_open_tests compile warnings X-Git-Tag: omap-for-v3.17/fixes-against-rc2~168^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef9feb682dea988f731a2e5a2e8e498aba6a9da7;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed