summaryrefslogtreecommitdiff
path: root/libre/grub2/grub-install.fix
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-04-22 20:58:37 -0300
committerAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-04-22 20:58:37 -0300
commit2acd7ff9032c07a38251b55c164cc10b246c8268 (patch)
tree0eb454198238595d6bac111e44982eb999d5c5a2 /libre/grub2/grub-install.fix
parent76eeb17b731e98f885464c73b4f58509ba38987c (diff)
grub2-2.00beta4-1: updating version
Diffstat (limited to 'libre/grub2/grub-install.fix')
-rw-r--r--libre/grub2/grub-install.fix11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/grub2/grub-install.fix b/libre/grub2/grub-install.fix
new file mode 100644
index 000000000..29e74bd44
--- /dev/null
+++ b/libre/grub2/grub-install.fix
@@ -0,0 +1,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;