Skip to content
Snippets Groups Projects
Commit 699e4642 authored by Fabrice Bellard's avatar Fabrice Bellard
Browse files

win32 fix

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1908 c046a42c-6fe2-441c-8c8c-71466251a162
parent 64866c3d
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment