diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-06-12 08:08:04 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-06-12 08:08:04 -0400 |
commit | 38ef945266758856bf11e385eadaa0872b6d8b30 (patch) | |
tree | d33ea2dd8fb941806351f3567fa981f718f95d1b /debug-tree.c | |
parent | b53a236c3eea3ce01a0054c249cb0b974b9568c6 (diff) |
printf cleanups
Diffstat (limited to 'debug-tree.c')
-rw-r--r-- | debug-tree.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/debug-tree.c b/debug-tree.c index 9699e3c4..81f5389a 100644 --- a/debug-tree.c +++ b/debug-tree.c @@ -67,15 +67,19 @@ int main(int ac, char **av) { printf("extent tree "); break; } - printf("tree %Lu %Lu %u\n", found_key.objectid, - found_key.offset, found_key.flags); + printf("tree %llu %u %llu\n", + (unsigned long long)found_key.objectid, + found_key.flags, + (unsigned long long)found_key.offset); btrfs_print_tree(root, buf); } path.slots[0]++; } btrfs_release_path(root, &path); - printf("total blocks %Lu\n", btrfs_super_total_blocks(&super)); - printf("blocks used %Lu\n", btrfs_super_blocks_used(&super)); + printf("total blocks %llu\n", + (unsigned long long)btrfs_super_total_blocks(&super)); + printf("blocks used %llu\n", + (unsigned long long)btrfs_super_blocks_used(&super)); uuidbuf[36] = '\0'; uuid_unparse(super.fsid, uuidbuf); printf("uuid %s\n", uuidbuf); |