Skip to content

Commit

Permalink
vvfat: one more missing BlockDriver C99 initializer conversion
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
  • Loading branch information
Christoph Hellwig authored and Anthony Liguori committed May 28, 2009
1 parent f452095 commit f9e9643
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions block/vvfat.c
Original file line number Diff line number Diff line change
Expand Up @@ -2762,10 +2762,9 @@ static void write_target_close(BlockDriverState *bs) {
}

static BlockDriver vvfat_write_target = {
"vvfat_write_target", 0, NULL, NULL, NULL,
write_target_commit,
write_target_close,
NULL, NULL, NULL
.format_name = "vvfat_write_target",
.bdrv_write = write_target_commit,
.bdrv_close = write_target_close,
};

static int enable_write_target(BDRVVVFATState *s)
Expand Down

0 comments on commit f9e9643

Please sign in to comment.