aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vmdk2raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vmdk2raw.c b/vmdk2raw.c
index 8bf5eea38b..4a63e76e92 100644
--- a/vmdk2raw.c
+++ b/vmdk2raw.c
@@ -108,7 +108,7 @@ zero_fill:
int open_vmdk(const char *filename)
{
- int fd = open(filename, O_RDONLY);
+ int fd = open(filename, O_RDONLY | O_LARGEFILE);
if (fd == -1)
{
perror(filename);