summaryrefslogtreecommitdiff
path: root/libre/grub/grub-install.fix
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-08-27 00:15:51 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-08-27 00:15:51 -0300
commit43a5bcc4818d2b06b0dbc8f53c9b9c26150e7dc6 (patch)
tree5178fe6d32627d77375f7651dd06b06d6acf06eb /libre/grub/grub-install.fix
parentff0f66c534f9f5d0c042c3eaf48bd7e52d94fa34 (diff)
grub-2.00-1: adding new grub to [libre] repo on abslibre
Diffstat (limited to 'libre/grub/grub-install.fix')
-rw-r--r--libre/grub/grub-install.fix11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/grub/grub-install.fix b/libre/grub/grub-install.fix
new file mode 100644
index 000000000..29e74bd44
--- /dev/null
+++ b/libre/grub/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;