Commit 9ab8a34a183b7f7c37fb4e8e6d33fa82b4840005
1 parent
585f8587
O_LARGEFILE is not needed
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2084 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
block-raw.c
... | ... | @@ -477,7 +477,7 @@ static int raw_create(const char *filename, int64_t total_size, |
477 | 477 | if (flags || backing_file) |
478 | 478 | return -ENOTSUP; |
479 | 479 | |
480 | - fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY | O_LARGEFILE, | |
480 | + fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, | |
481 | 481 | 0644); |
482 | 482 | if (fd < 0) |
483 | 483 | return -EIO; | ... | ... |