projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5a8f07
)
win32 load_kernel() fix
author
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 29 Sep 2004 21:19:16 +0000
(21:19 +0000)
committer
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 29 Sep 2004 21:19:16 +0000
(21:19 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1075
c046a42c
-6fe2-441c-8c8c-
71466251a162
hw/pc.c
patch
|
blob
|
history
diff --git
a/hw/pc.c
b/hw/pc.c
index f59ea2397fb5d52aa9816c3ab4795680e5b70ecf..305ea1f5b6b03cebe6ce3f9a662650ea364fb676 100644
(file)
--- a/
hw/pc.c
+++ b/
hw/pc.c
@@
-283,7
+283,7
@@
int load_kernel(const char *filename, uint8_t *addr,
int fd, size;
int setup_sects;
- fd = open(filename, O_RDONLY);
+ fd = open(filename, O_RDONLY
| O_BINARY
);
if (fd < 0)
return -1;