win32 load_kernel() fix

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1075 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2004-09-29 21:19:16 +00:00
parent d5a8f07c52
commit 096b7ea42b
1 changed files with 1 additions and 1 deletions

View File

@ -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;