dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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