aboutsummaryrefslogtreecommitdiff
path: root/block/raw-win32.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-11-07 15:10:40 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-11-07 15:10:40 +0000
commitcfd07e7abb1ef39373cd4ce312b015d61b9eea8d (patch)
tree4004e5da72cb05a9daf1238a4fd45c7e5b8350fa /block/raw-win32.c
parentd33ea50a958b2e050d2b28e5f17e3b55e91c6d74 (diff)
Fix win32 build
Fix a return value change missed by 205ef7961f781496366e0a93a4ec621ad3724bd7. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'block/raw-win32.c')
-rw-r--r--block/raw-win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/raw-win32.c b/block/raw-win32.c
index 7f32778612..06c97101bb 100644
--- a/block/raw-win32.c
+++ b/block/raw-win32.c
@@ -147,7 +147,7 @@ static int raw_write(BlockDriverState *bs, int64_t sector_num,
return ret_count;
}
-static void raw_flush(BlockDriverState *bs)
+static int raw_flush(BlockDriverState *bs)
{
BDRVRawState *s = bs->opaque;
int ret;