nbd: inline tcp_socket_incoming_spec into sole caller
[qemu.git] / qemu-nbd.c
index 136e8c9c05a71830b77362dae4b492f902592f41..711162c2ec35828ceea9c8768e30df5aa85f68f8 100644 (file)
@@ -597,7 +597,7 @@ int main(int argc, char **argv)
 
     bs = bdrv_new("hda");
     srcpath = argv[optind];
-    ret = bdrv_open(bs, srcpath, NULL, flags, drv, &local_err);
+    ret = bdrv_open(&bs, srcpath, NULL, NULL, flags, drv, &local_err);
     if (ret < 0) {
         errno = -ret;
         err(EXIT_FAILURE, "Failed to bdrv_open '%s': %s", argv[optind],
This page took 0.021058 seconds and 4 git commands to generate.