From e91bca86cbca0553f4c0adb1bb5be065ca2db535 Mon Sep 17 00:00:00 2001 From: bellard Date: Sat, 5 Aug 2006 21:27:55 +0000 Subject: [PATCH] O_LARGEFILE is not needed --- block-raw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block-raw.c b/block-raw.c index 33ad64741..14f4bd5b3 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; -- 2.39.5