Revision d6e9098e block/vvfat.c

b/block/vvfat.c
2795 2795
    if (bdrv_create(bdrv_qcow, s->qcow_filename, options) < 0)
2796 2796
	return -1;
2797 2797
    s->qcow = bdrv_new("");
2798
    if (s->qcow == NULL || bdrv_open(s->qcow, s->qcow_filename, BDRV_O_RDWR) < 0)
2798
    if (s->qcow == NULL ||
2799
        bdrv_open(s->qcow, s->qcow_filename, BDRV_O_RDWR, bdrv_qcow) < 0)
2800
    {
2799 2801
	return -1;
2802
    }
2800 2803

  
2801 2804
#ifndef _WIN32
2802 2805
    unlink(s->qcow_filename);

Also available in: Unified diff