Commit 04a3b84c839538715b1bd3c93dd3aff46840e23a

Authored by bellard
1 parent 86e0c048

64 bit support


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@828 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
vmdk2raw.c
@@ -108,7 +108,7 @@ zero_fill: @@ -108,7 +108,7 @@ zero_fill:
108 108
109 int open_vmdk(const char *filename) 109 int open_vmdk(const char *filename)
110 { 110 {
111 - int fd = open(filename, O_RDONLY); 111 + int fd = open(filename, O_RDONLY | O_LARGEFILE);
112 if (fd == -1) 112 if (fd == -1)
113 { 113 {
114 perror(filename); 114 perror(filename);