diff options
author | njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2009-02-23 07:17:08 +0000 |
---|---|---|
committer | njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2009-02-23 07:17:08 +0000 |
commit | 685a9596ed607e3bd72ee1b4f094abb3a2f3f96e (patch) | |
tree | 1a6f8c09271dd01142b47aba6548b63fbed6fc4d /none | |
parent | efc13c21199dbb35ad07a5e00d538aa884863c01 (diff) | |
download | valgrind-685a9596ed607e3bd72ee1b4f094abb3a2f3f96e.tar.gz |
Fix some more 'make check' warnings, ones that appear on non-Linux
platforms.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9238 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'none')
-rw-r--r-- | none/tests/rlimit_nofile.c | 5 | ||||
-rw-r--r-- | none/tests/susphello.c | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/none/tests/rlimit_nofile.c b/none/tests/rlimit_nofile.c index c563c5f30..2d8304e88 100644 --- a/none/tests/rlimit_nofile.c +++ b/none/tests/rlimit_nofile.c @@ -37,8 +37,9 @@ int main(int argc, char **argv) if (newrlim.rlim_cur != oldrlim.rlim_cur / 2) { - fprintf(stderr, "rlim_cur is %lu (should be %lu)\n", - newrlim.rlim_cur, oldrlim.rlim_cur / 2); + fprintf(stderr, "rlim_cur is %llu (should be %llu)\n", + (unsigned long long)newrlim.rlim_cur, + (unsigned long long)oldrlim.rlim_cur / 2); } if (newrlim.rlim_max != oldrlim.rlim_max) diff --git a/none/tests/susphello.c b/none/tests/susphello.c index b0d53fdc8..e0e29c31d 100644 --- a/none/tests/susphello.c +++ b/none/tests/susphello.c @@ -20,7 +20,7 @@ #include <unistd.h> #include <dlfcn.h> - +#include <stdio.h> #include <pthread.h> #include <unistd.h> #include <string.h> |