[PATCH] bhyve: Fix declaration of 'params' in 'bhyveParsePCIFbuf'

Ján Tomko jtomko at redhat.com
Mon Apr 12 16:35:05 UTC 2021


On a Monday in 2021, Peter Krempa wrote:
>In commit ad80bba90a3 I've mistakenly didn't delete '**' from the

d/'ve/

>variable declaration when converting it to 'GStrv'
>
>Fixes: ad80bba90a3
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
>
>The patch will be pushed under the build-breaker and trivial rules once
>the pipeline passes:
>
>https://gitlab.com/pipo.sk/libvirt/-/pipelines/285158773
>
> src/bhyve/bhyve_parse_command.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/src/bhyve/bhyve_parse_command.c b/src/bhyve/bhyve_parse_command.c
>index d86d37b697..2783119a7b 100644
>--- a/src/bhyve/bhyve_parse_command.c
>+++ b/src/bhyve/bhyve_parse_command.c
>@@ -558,7 +558,7 @@ bhyveParsePCIFbuf(virDomainDefPtr def,
>
>     virDomainVideoDefPtr video = NULL;
>     virDomainGraphicsDefPtr graphics = NULL;
>-    g_auto(GStrv) **params = NULL;
>+    g_auto(GStrv) params = NULL;
>     GStrv next;
>
>     if (!(video = virDomainVideoDefNew(xmlopt)))
>-- 
>2.30.2

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210412/d96f51d7/attachment-0001.sig>


More information about the libvir-list mailing list