grub-install-common: Increase buf size to 8192 as modinfo.sh is bigger.
authorVladimir Serbinenko <phcoder@gmail.com>
Thu, 7 May 2015 15:09:58 +0000 (17:09 +0200)
committerVladimir Serbinenko <phcoder@gmail.com>
Thu, 7 May 2015 15:09:58 +0000 (17:09 +0200)
util/grub-install-common.c

index 37c1a98..0364b32 100644 (file)
@@ -902,7 +902,7 @@ grub_install_get_target (const char *src)
 {
   char *fn;
   grub_util_fd_t f;
-  char buf[2048];
+  char buf[8192];
   ssize_t r;
   char *c, *pl, *p;
   size_t i;