btrfs: tree-checker: use %zu format string for size_t
[sfrench/cifs-2.6.git] / fs / btrfs / tree-checker.c
index 66dac0a4b01f320be925316b46acd18761866258..7c55e3ba5a6c86f70aaa8a2b9d1ac3d469075f78 100644 (file)
@@ -270,7 +270,7 @@ static int check_dir_item(struct btrfs_root *root,
                /* header itself should not cross item boundary */
                if (cur + sizeof(*di) > item_size) {
                        dir_item_err(root, leaf, slot,
-               "dir item header crosses item boundary, have %lu boundary %u",
+               "dir item header crosses item boundary, have %zu boundary %u",
                                cur + sizeof(*di), item_size);
                        return -EUCLEAN;
                }