sim-card
/
qemu
Archived
10
0
Fork 0

Fix Windows host breakage by 45a50b1668 (TeLeMan)

Signed-off-by: malc <av1474@comtv.ru>
This commit is contained in:
malc 2009-10-10 19:02:40 +04:00
parent e0bda367e5
commit cef290b878
1 changed files with 1 additions and 1 deletions

View File

@ -563,7 +563,7 @@ int rom_add_file(const char *file,
goto err;
}
fd = open(rom->path, O_RDONLY);
fd = open(rom->path, O_RDONLY | O_BINARY);
if (fd == -1) {
fprintf(stderr, "Could not open option rom '%s': %s\n",
rom->path, strerror(errno));