summaryrefslogtreecommitdiff
path: root/benchmarks/prime_lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/prime_lookup.c')
-rw-r--r--benchmarks/prime_lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/prime_lookup.c b/benchmarks/prime_lookup.c
index e995b766..d6c39729 100644
--- a/benchmarks/prime_lookup.c
+++ b/benchmarks/prime_lookup.c
@@ -143,7 +143,7 @@ static bool allow_files(unsigned min)
return false;
igt_info("Current file limit is %ld, estimated we need %d\n",
- rlim.rlim_cur, min);
+ (long)rlim.rlim_cur, min);
if (rlim.rlim_cur > min)
return true;