diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-06-28 21:32:10 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-06-28 21:32:10 -0300 |
commit | 64cf361dd1f757ccc31ced3482efe88c7aaaccc5 (patch) | |
tree | 114be9a3cebf18c3be30b171ec76fd6405c359f6 /libre-testing/grub/grub-install.fix | |
parent | 674fdec643af42d0a690b5296da455b60253ea05 (diff) |
grub-2.00-1: new package
Diffstat (limited to 'libre-testing/grub/grub-install.fix')
-rw-r--r-- | libre-testing/grub/grub-install.fix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libre-testing/grub/grub-install.fix b/libre-testing/grub/grub-install.fix new file mode 100644 index 000000000..29e74bd44 --- /dev/null +++ b/libre-testing/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; |