Blame SOURCES/0132-grub-core-commands-ls.c-grub_ls_print_devices-Add-mi.patch

f96e0b
From b878041a451a90c4d75c66d7c7ba9d570e19f271 Mon Sep 17 00:00:00 2001
f96e0b
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
f96e0b
Date: Mon, 21 Jan 2013 17:46:24 +0100
f96e0b
Subject: [PATCH 132/482] 	* grub-core/commands/ls.c
f96e0b
 (grub_ls_print_devices): Add missing 	asterisk.
f96e0b
f96e0b
---
f96e0b
 ChangeLog               | 9 +++++++++
f96e0b
 grub-core/commands/ls.c | 2 +-
f96e0b
 2 files changed, 10 insertions(+), 1 deletion(-)
f96e0b
f96e0b
diff --git a/ChangeLog b/ChangeLog
f96e0b
index 04572d2..35267f5 100644
f96e0b
--- a/ChangeLog
f96e0b
+++ b/ChangeLog
f96e0b
@@ -1,3 +1,12 @@
f96e0b
+2013-01-21  Vladimir Serbinenko  <phcoder@gmail.com>
f96e0b
+
f96e0b
+	* grub-core/commands/ls.c (grub_ls_print_devices): Add missing
f96e0b
+	asterisk.
f96e0b
+
f96e0b
+2013-01-21  Vladimir Serbinenko  <phcoder@gmail.com>
f96e0b
+
f96e0b
+	Make color variables global instead of it being per-terminal.
f96e0b
+
f96e0b
 2013-01-21  Colin Watson  <cjwatson@ubuntu.com>
f96e0b
 
f96e0b
 	Fix powerpc and sparc64 build failures caused by un-nesting memory
f96e0b
diff --git a/grub-core/commands/ls.c b/grub-core/commands/ls.c
f96e0b
index 0b86619..83930aa 100644
f96e0b
--- a/grub-core/commands/ls.c
f96e0b
+++ b/grub-core/commands/ls.c
f96e0b
@@ -51,7 +51,7 @@ grub_ls_print_devices (const char *name, void *data)
f96e0b
 {
f96e0b
   int *longlist = data;
f96e0b
 
f96e0b
-  if (longlist)
f96e0b
+  if (*longlist)
f96e0b
     grub_normal_print_device_info (name);
f96e0b
   else
f96e0b
     grub_printf ("(%s) ", name);
f96e0b
-- 
f96e0b
1.8.2.1
f96e0b