From c4b1bfa5f06611841f5772412617b2160d8ccb18 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 25 Mar 2024 17:17:24 +0100 Subject: [PATCH] cov: use proper enum value --- tools/lvresize.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/lvresize.c b/tools/lvresize.c index 5a49bd856..c67306f58 100644 --- a/tools/lvresize.c +++ b/tools/lvresize.c @@ -178,11 +178,11 @@ static int _lvresize_params(struct cmd_context *cmd, struct lvresize_params *lp) if (set_extents_and_size) { if ((lp->extents = arg_uint_value(cmd, extents_ARG, 0))) { - lp->sign = arg_sign_value(cmd, extents_ARG, 0); + lp->sign = arg_sign_value(cmd, extents_ARG, SIGN_NONE); lp->percent = arg_percent_value(cmd, extents_ARG, PERCENT_NONE); } if ((lp->size = arg_uint64_value(cmd, size_ARG, 0))) { - lp->sign = arg_sign_value(cmd, size_ARG, 0); + lp->sign = arg_sign_value(cmd, size_ARG, SIGN_NONE); lp->percent = PERCENT_NONE; } if (lp->size && lp->extents) {