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