From 50e571e5b7ff95c94803c9668a8550ed68571db5 Mon Sep 17 00:00:00 2001 From: Liu Hui Date: Wed, 7 Jan 2009 14:57:12 -0500 Subject: [PATCH] Fix compile error in quick-test.c of btrfs progs --- quick-test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quick-test.c b/quick-test.c index 44c23185..351c7061 100644 --- a/quick-test.c +++ b/quick-test.c @@ -18,6 +18,7 @@ #include #include +#include #include "kerncompat.h" #include "radix-tree.h" #include "ctree.h" @@ -96,7 +97,7 @@ int main(int ac, char **av) { printf("node %p level %d total ptrs %d free spc %lu\n", root->node, btrfs_header_level(root->node), btrfs_header_nritems(root->node), - BTRFS_NODEPTRS_PER_BLOCK(root) - + (unsigned long)BTRFS_NODEPTRS_PER_BLOCK(root) - btrfs_header_nritems(root->node)); printf("all searches good, deleting some items\n"); i = 0;