From 83f6409109acd7cd13ff8a603f29c46033c4fb00 Mon Sep 17 00:00:00 2001 From: bellard Date: Tue, 1 Aug 2006 16:21:11 +0000 Subject: async file I/O API git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2075 c046a42c-6fe2-441c-8c8c-71466251a162 --- block-bochs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'block-bochs.c') diff --git a/block-bochs.c b/block-bochs.c index 62317af..febb4d3 100644 --- a/block-bochs.c +++ b/block-bochs.c @@ -85,15 +85,15 @@ static int bochs_probe(const uint8_t *buf, int buf_size, const char *filename) return 0; } -static int bochs_open(BlockDriverState *bs, const char *filename) +static int bochs_open(BlockDriverState *bs, const char *filename, int flags) { BDRVBochsState *s = bs->opaque; int fd, i; struct bochs_header bochs; - fd = open(filename, O_RDWR | O_BINARY | O_LARGEFILE); + fd = open(filename, O_RDWR | O_BINARY); if (fd < 0) { - fd = open(filename, O_RDONLY | O_BINARY | O_LARGEFILE); + fd = open(filename, O_RDONLY | O_BINARY); if (fd < 0) return -1; } -- cgit v1.1