]> xenbits.xensource.com Git - libvirt.git/commitdiff
bhyve: Need to add parameter to virDomainChrDefNew
authorJohn Ferlan <jferlan@redhat.com>
Fri, 21 Oct 2016 11:52:26 +0000 (07:52 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 21 Oct 2016 12:50:28 +0000 (08:50 -0400)
Commit id '5f2a13278' missed this one.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/bhyve/bhyve_parse_command.c

index fd9384d7bbf3729bada8b8d2c023537c40e8d219..1a7de3d27308a3416ff365e3bd8c73a750172972 100644 (file)
@@ -287,7 +287,7 @@ bhyveParseBhyveLPCArg(virDomainDefPtr def,
 
     /* Only support com%d */
     if (STRPREFIX(type, "com") && type[4] == 0) {
-        if (!(chr = virDomainChrDefNew()))
+        if (!(chr = virDomainChrDefNew(NULL)))
             goto error;
 
         chr->source.type = VIR_DOMAIN_CHR_TYPE_NMDM;