From 99711bf92a44ad07f82b29792df3e4e2f9450ac6 Mon Sep 17 00:00:00 2001 From: Francesco Romani Date: Wed, 15 Feb 2017 14:21:20 +0100 Subject: [PATCH] virt plugin: fix prototype Previously it failed to compile, even though somehow gcc 6.3.1 liked it. --- src/virt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/virt.c b/src/virt.c index f2dccec4..68a8e6b9 100644 --- a/src/virt.c +++ b/src/virt.c @@ -484,7 +484,7 @@ static void disk_submit(struct lv_block_info *binfo, virDomainPtr dom, } } -static unsigned int parse_ex_stats_flags(const char *exstats, int numexstats) { +static unsigned int parse_ex_stats_flags(char **exstats, int numexstats) { int extra_stats = ex_stats_none; for (int i = 0; i < numexstats; i++) { for (int j = 0; ex_stats_table[j].name != NULL; j++) { -- 2.30.2