%zd for size_t printf ops

This commit is contained in:
Daniel Black
2016-04-19 11:54:32 +10:00
parent 51a8c6f508
commit 8c69009f1c

View File

@ -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;
}