blob: 29e74bd441c9e5206c6197ee3d65399679dc8a6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
=== modified file 'grub-core/kern/emu/hostdisk.c'
--- grub-core/kern/emu/hostdisk.c 2012-04-18 21:48:52 +0000
+++ grub-core/kern/emu/hostdisk.c 2012-04-19 18:35:06 +0000
@@ -1081,7 +1081,7 @@
{
int fd;
grub_disk_addr_t max = ~0ULL;
- fd = open_device (disk, sector, O_RDONLY, &max);
+ fd = open_device (disk, sector, O_WRONLY, &max);
if (fd < 0)
return grub_errno;
|