diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-05-07 18:06:27 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-05-07 18:06:27 +0000 |
commit | 699e4642a9df17591e7586c91921fc3d6b31616e (patch) | |
tree | 3e4b2b946032c43dd6541ec851bd028cb839ad2c | |
parent | 64866c3d5c20fa5e7cc5838030e59965e55f7a85 (diff) |
win32 fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1908 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -200,7 +200,7 @@ int load_elf(const char *filename, int64_t virt_to_phys_addend, int fd, data_order, must_swab, ret; uint8_t e_ident[EI_NIDENT]; - fd = open(filename, O_RDONLY); + fd = open(filename, O_RDONLY | O_BINARY); if (fd < 0) { perror(filename); return -1; |