dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

Blame SOURCES/0076-grub-core-lib-syslinux_parse.c-Fix-timeout-quoting.patch

23d2ea
From d47063b3fdf1acb1028893751ca98f764a0ac39b Mon Sep 17 00:00:00 2001
39700a
From: Vladimir Serbinenko <phcoder@gmail.com>
39700a
Date: Sun, 6 Apr 2014 00:44:44 +0200
23d2ea
Subject: [PATCH 076/198] * grub-core/lib/syslinux_parse.c: Fix timeout
39700a
 quoting.
39700a
39700a
---
39700a
 ChangeLog                      | 4 ++++
39700a
 grub-core/lib/syslinux_parse.c | 2 +-
39700a
 2 files changed, 5 insertions(+), 1 deletion(-)
39700a
39700a
diff --git a/ChangeLog b/ChangeLog
39700a
index 90e41bd..50d9291 100644
39700a
--- a/ChangeLog
39700a
+++ b/ChangeLog
39700a
@@ -1,3 +1,7 @@
39700a
+2014-04-06  Vladimir Serbinenko  <phcoder@gmail.com>
39700a
+
39700a
+	* grub-core/lib/syslinux_parse.c: Fix timeout quoting.
39700a
+
39700a
 2014-04-04  Vladimir Serbinenko  <phcoder@gmail.com>
39700a
 
39700a
 	* include/grub/libgcc.h: Remove ctzsi2 and ctzdi2. They're no longer
39700a
diff --git a/grub-core/lib/syslinux_parse.c b/grub-core/lib/syslinux_parse.c
39700a
index 21fa175..6bc504b 100644
39700a
--- a/grub-core/lib/syslinux_parse.c
39700a
+++ b/grub-core/lib/syslinux_parse.c
39700a
@@ -1432,7 +1432,7 @@ config_file (struct output_buffer *outbuf,
39700a
       for (curentry = menu.entries; curentry->next; curentry = curentry->next);
39700a
       lentry = curentry;
39700a
 
39700a
-      print_string ("set timeout='");
39700a
+      print_string ("set timeout=");
39700a
       err = print_num (outbuf, (menu.timeout + 9) / 10);
39700a
       if (err)
39700a
 	return err;
39700a
-- 
23d2ea
2.7.4
39700a