projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed0a072
)
more 32 bit cleanups
author
Chris Mason
<chris.mason@oracle.com>
Mon, 26 Feb 2007 19:26:58 +0000
(14:26 -0500)
committer
David Woodhouse
<dwmw2@hera.kernel.org>
Mon, 26 Feb 2007 19:26:58 +0000
(14:26 -0500)
print-tree.c
patch
|
blob
|
history
diff --git
a/print-tree.c
b/print-tree.c
index a9a14223e1869f5f8065ae03cd64f2f8d6521fd6..dda08f32c154e918ab1f60d390b1603fa7a85323 100644
(file)
--- a/
print-tree.c
+++ b/
print-tree.c
@@
-45,7
+45,7
@@
void print_tree(struct ctree_root *root, struct tree_buffer *t)
}
printf("node %Lu level %d total ptrs %d free spc %u\n", t->blocknr,
node_level(c->header.flags), c->header.nritems,
- NODEPTRS_PER_BLOCK - c->header.nritems);
+
(u32)
NODEPTRS_PER_BLOCK - c->header.nritems);
fflush(stdout);
for (i = 0; i < nr; i++) {
printf("\tkey %d (%Lu %u %Lu) block %Lu\n",