The function print_pcie_addr() only takes a single parameter.

Signed-off-by: Fiona Ebner <f.eb...@proxmox.com>
---
 src/PVE/QemuServer.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/QemuServer.pm b/src/PVE/QemuServer.pm
index 8eecbd53..23fde3f8 100644
--- a/src/PVE/QemuServer.pm
+++ b/src/PVE/QemuServer.pm
@@ -1827,7 +1827,7 @@ sub print_vga_device {
     my $pciaddr;
     if ($q35 && $vgaid eq 'vga') {
         # the first display uses pcie.0 bus on q35 machines
-        $pciaddr = print_pcie_addr($vgaid, $bridges, $arch, $machine);
+        $pciaddr = print_pcie_addr($vgaid);
     } else {
         $pciaddr = print_pci_addr($vgaid, $bridges, $arch, $machine);
     }
-- 
2.39.5



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to