From 43a5bcc4818d2b06b0dbc8f53c9b9c26150e7dc6 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 27 Aug 2012 00:15:51 -0300 Subject: grub-2.00-1: adding new grub to [libre] repo on abslibre --- libre/grub/grub-install.fix | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 libre/grub/grub-install.fix (limited to 'libre/grub/grub-install.fix') 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; -- cgit v1.2.3-54-g00ecf