commit | 699e4642a9df17591e7586c91921fc3d6b31616e | [log] [tgz] |
---|---|---|
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | Sun May 07 18:06:27 2006 +0000 |
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | Sun May 07 18:06:27 2006 +0000 |
tree | 3e4b2b946032c43dd6541ec851bd028cb839ad2c | |
parent | 64866c3d5c20fa5e7cc5838030e59965e55f7a85 [diff] [blame] |
win32 fix git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1908 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/loader.c b/loader.c index b2d6423..3fa681d 100644 --- a/loader.c +++ b/loader.c
@@ -200,7 +200,7 @@ 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;