]> git.proxmox.com Git - qemu.git/blobdiff - qemu-char.c
vfio-pci: Fix debug build
[qemu.git] / qemu-char.c
index 7f0f89515745d1fe4807cf96df6576a0c6b7fb1b..b082bae11b22f1069031d4171643f5c1eeeefc26 100644 (file)
@@ -2456,7 +2456,7 @@ static CharDriverState *qemu_chr_open_socket(QemuOpts *opts)
         if (is_listen) {
             fd = inet_listen_opts(opts, 0, NULL);
         } else {
-            fd = inet_connect_opts(opts, NULL, NULL);
+            fd = inet_connect_opts(opts, NULL, NULL, NULL);
         }
     }
     if (fd < 0) {