summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2021-09-24 22:14:53 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2021-09-27 18:56:14 +0200
commit614d150a8c7387744804b90fddea99c7fb4511f2 (patch)
treefe326d82c1bb74e32e097c63642c4cfa33ed52e9
parentbf0d558067926e716a370165e323187cf44c050a (diff)
downloadlvm2-614d150a8c7387744804b90fddea99c7fb4511f2.tar.gz
cov; matching enum type
-rw-r--r--tools/lvconvert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lvconvert.c b/tools/lvconvert.c
index a7fb848be..34b82ea02 100644
--- a/tools/lvconvert.c
+++ b/tools/lvconvert.c
@@ -95,7 +95,7 @@ struct convert_poll_id_list {
};
/* FIXME Temporary function until the enum replaces the separate variables */
-static void _set_conv_type(struct lvconvert_params *lp, int conv_type)
+static void _set_conv_type(struct lvconvert_params *lp, conversion_type_t conv_type)
{
if (lp->conv_type != CONV_OTHER)
log_error(INTERNAL_ERROR "Changing conv_type from %d to %d.", lp->conv_type, conv_type);