Explorar el Código

ocfs2: silence a compile warning in dlm_alloc_pagevec()

Reported by Andrew Morton.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Mark Fasheh hace 19 años
padre
commit
685f1adb38
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      fs/ocfs2/dlm/dlmdomain.c

+ 2 - 2
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);