diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-08-05 21:27:55 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-08-05 21:27:55 +0000 |
commit | 9ab8a34a183b7f7c37fb4e8e6d33fa82b4840005 (patch) | |
tree | 08ec0494e4f29bc7b260d81cec2697aa4df5fa85 /block-raw.c | |
parent | 585f8587ad3619cf070fdc19d2d0b8e7a2398d91 (diff) |
O_LARGEFILE is not needed
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2084 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block-raw.c')
-rw-r--r-- | block-raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block-raw.c b/block-raw.c index 33ad647414..14f4bd5b3c 100644 --- a/block-raw.c +++ b/block-raw.c @@ -477,7 +477,7 @@ static int raw_create(const char *filename, int64_t total_size, if (flags || backing_file) return -ENOTSUP; - fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY | O_LARGEFILE, + fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644); if (fd < 0) return -EIO; |