--- src/sbin/newfs_hammer/newfs_hammer.c 2008/01/09 00:46:19 1.13 +++ src/sbin/newfs_hammer/newfs_hammer.c 2008/01/17 04:59:50 1.14 @@ -44,6 +44,8 @@ static int32_t format_cluster(struct vol static void format_root(struct cluster_info *cluster); static void usage(void); +static int64_t ClusterSize; + int main(int ac, char **av) { @@ -635,6 +637,7 @@ format_root(struct cluster_info *cluster idata->version = HAMMER_INODE_DATA_VERSION; idata->mode = 0755; + rec->base.base.btype = HAMMER_BTREE_TYPE_RECORD; rec->base.base.obj_id = HAMMER_OBJID_ROOT; rec->base.base.key = 0; rec->base.base.create_tid = createtid();