ocfs2: silence a compile warning in dlm_alloc_pagevec()
authorMark Fasheh <mark.fasheh@oracle.com>
Thu, 23 Mar 2006 19:23:29 +0000 (11:23 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Mon, 26 Jun 2006 21:42:43 +0000 (14:42 -0700)
Reported by Andrew Morton.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dlm/dlmdomain.c

index a074ec6f193fb17538b5767c628f083811cdf2ef..3511930a34ee351040226d4f8a22b92939d2019e 100644 (file)
@@ -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);