From: Mark Fasheh Date: Thu, 23 Mar 2006 19:23:29 +0000 (-0800) Subject: ocfs2: silence a compile warning in dlm_alloc_pagevec() X-Git-Tag: 2.1b_release~33465^2~49 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=685f1adb3872d904e08e22fab699f34432d5068a;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git ocfs2: silence a compile warning in dlm_alloc_pagevec() Reported by Andrew Morton. Signed-off-by: Mark Fasheh --- diff --git a/fs/ocfs2/dlm/dlmdomain.c b/fs/ocfs2/dlm/dlmdomain.c index a074ec6..3511930 100644 --- a/fs/ocfs2/dlm/dlmdomain.c +++ b/fs/ocfs2/dlm/dlmdomain.c @@ -68,8 +68,8 @@ static void **dlm_alloc_pagevec(int pages) if (!(vec[i] = (void *)__get_free_page(GFP_KERNEL))) goto out_free; - mlog(0, "Allocated DLM hash pagevec; %d pages (%lu expected), %Zd buckets per page\n", - pages, DLM_HASH_PAGES, DLM_BUCKETS_PER_PAGE); + mlog(0, "Allocated DLM hash pagevec; %d pages (%lu expected), %lu buckets per page\n", + pages, DLM_HASH_PAGES, (unsigned long)DLM_BUCKETS_PER_PAGE); return vec; out_free: dlm_free_pagevec(vec, i);