[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT cef290b] Fix Windows host breakage by45a50b166882
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT cef290b] Fix Windows host breakage by45a50b1668822c23afc2a89f724654e176518bc4 (TeLeMan) |
Date: |
Sat, 10 Oct 2009 15:07:14 -0000 |
From: malc <address@hidden>
Signed-off-by: malc <address@hidden>
diff --git a/hw/loader.c b/hw/loader.c
index c436ec6..03cc7d5 100644
--- 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));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT cef290b] Fix Windows host breakage by45a50b1668822c23afc2a89f724654e176518bc4 (TeLeMan),
Anthony Liguori <=