From 8c69009f1c69a49ca5bdb325befaceb5487e5636 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Tue, 19 Apr 2016 11:54:32 +1000 Subject: [PATCH] %zd for size_t printf ops --- sysbench/tests/memory/sb_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysbench/tests/memory/sb_memory.c b/sysbench/tests/memory/sb_memory.c index ba73dff..73abae0 100644 --- a/sysbench/tests/memory/sb_memory.c +++ b/sysbench/tests/memory/sb_memory.c @@ -415,7 +415,7 @@ void * hugetlb_alloc(size_t size) if (shmid < 0) { log_errno(LOG_FATAL, - "Failed to allocate %d bytes from HugeTLB memory.", size); + "Failed to allocate %zd bytes from HugeTLB memory.", size); return NULL; }