From 2acd7ff9032c07a38251b55c164cc10b246c8268 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Sun, 22 Apr 2012 20:58:37 -0300 Subject: grub2-2.00beta4-1: updating version --- libre/grub2/grub-install.fix | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 libre/grub2/grub-install.fix (limited to 'libre/grub2/grub-install.fix') 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; -- cgit v1.2.3