From 87ec948433cccbfc67c570e75635a974de6782be Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Fri, 19 Sep 2008 07:18:03 +0000 Subject: [PATCH] . --- lib/activate/dev_manager.c | 4 ++-- lib/device/dev-md.c | 2 +- tools/commands.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/activate/dev_manager.c b/lib/activate/dev_manager.c index 41731922f..30ecab39b 100644 --- a/lib/activate/dev_manager.c +++ b/lib/activate/dev_manager.c @@ -743,11 +743,11 @@ static int _add_error_area(struct dev_manager *dm, struct dm_tree_node *node, return_0; dm_tree_node_add_target_area(node, NULL, dlid, extent_size * seg_le(seg, s)); - } else { + } else dm_tree_node_add_target_area(node, dm->cmd->stripe_filler, NULL, UINT64_C(0)); - } + return 1; } diff --git a/lib/device/dev-md.c b/lib/device/dev-md.c index 37e398808..48dda2705 100644 --- a/lib/device/dev-md.c +++ b/lib/device/dev-md.c @@ -171,7 +171,7 @@ unsigned long dev_md_chunk_size(const char *sysfs_dir, struct device *dev) goto out; } - log_very_verbose("Found chunksize %u for md device %s.", chunk_size, + log_very_verbose("Found chunksize %lu for md device %s.", chunk_size, dev_name(dev)); out: diff --git a/tools/commands.h b/tools/commands.h index 7121a7646..dfcf485ec 100644 --- a/tools/commands.h +++ b/tools/commands.h @@ -857,8 +857,8 @@ xx(vgreduce, "\tVolumeGroupName\n" "\t[PhysicalVolumePath...]\n", - all_ARG, autobackup_ARG, mirrorsonly_ARG, removemissing_ARG, - force_ARG, test_ARG) + all_ARG, autobackup_ARG, force_ARG, mirrorsonly_ARG, removemissing_ARG, + test_ARG) xx(vgremove, "Remove volume group(s)",