Revision 1d45f8b5 qemu-nbd.c

b/qemu-nbd.c
230 230
    int nb_fds = 0;
231 231
    int max_fd;
232 232
    int persistent = 0;
233
    uint32_t nbdflags;
233 234

  
234 235
    while ((ch = getopt_long(argc, argv, sopt, lopt, &opt_ind)) != -1) {
235 236
        switch (ch) {
......
398 399
                goto out;
399 400
            }
400 401

  
401
            ret = nbd_receive_negotiate(sock, &size, &blocksize);
402
            ret = nbd_receive_negotiate(sock, NULL, &nbdflags,
403
					&size, &blocksize);
402 404
            if (ret == -1) {
403 405
                ret = 1;
404 406
                goto out;

Also available in: Unified diff