From 25b672417e06265c4552184b4ae1f0853bd31732 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 22 Apr 2021 17:31:17 +0200 Subject: [PATCH] cov: use correct enum type Correct function declaration. --- lib/format_text/import_vsn1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/format_text/import_vsn1.c b/lib/format_text/import_vsn1.c index ef25369a6..946184b4b 100644 --- a/lib/format_text/import_vsn1.c +++ b/lib/format_text/import_vsn1.c @@ -128,7 +128,7 @@ static int _read_id(struct id *id, const struct dm_config_node *cn, const char * return 1; } -static int _read_flag_config(const struct dm_config_node *n, uint64_t *status, int type) +static int _read_flag_config(const struct dm_config_node *n, uint64_t *status, enum pv_vg_lv_e type) { const struct dm_config_value *cv; *status = 0;