OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0bda36
)
Fix Windows host breakage by 45a50b1668822c23afc2a89f724654e176518bc4 (TeLeMan)
author
malc
<av1474@comtv.ru>
Sat, 10 Oct 2009 15:02:40 +0000
(19:02 +0400)
committer
malc
<av1474@comtv.ru>
Sat, 10 Oct 2009 15:02:40 +0000
(19:02 +0400)
Signed-off-by: malc <av1474@comtv.ru>
hw/loader.c
patch
|
blob
|
history
diff --git
a/hw/loader.c
b/hw/loader.c
index
c436ec6
..
03cc7d5
100644
(file)
--- a/
hw/loader.c
+++ b/
hw/loader.c
@@
-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));