diff options
Diffstat (limited to 'tools/toollib.c')
-rw-r--r-- | tools/toollib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/toollib.c b/tools/toollib.c index d6fc9519..1916bfde 100644 --- a/tools/toollib.c +++ b/tools/toollib.c @@ -1527,13 +1527,13 @@ static int _validate_stripe_params(struct cmd_context *cmd, uint32_t *stripes, uint32_t *stripe_size) { if (*stripes == 1 && *stripe_size) { - log_print("Ignoring stripesize argument with single stripe"); + log_print_unless_silent("Ignoring stripesize argument with single stripe"); *stripe_size = 0; } if (*stripes > 1 && !*stripe_size) { *stripe_size = find_config_tree_int(cmd, "metadata/stripesize", DEFAULT_STRIPESIZE) * 2; - log_print("Using default stripesize %s", + log_print_unless_silent("Using default stripesize %s", display_size(cmd, (uint64_t) *stripe_size)); } |