45 lines
1.2 KiB
Diff
45 lines
1.2 KiB
Diff
From b878041a451a90c4d75c66d7c7ba9d570e19f271 Mon Sep 17 00:00:00 2001
|
|
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
|
|
Date: Mon, 21 Jan 2013 17:46:24 +0100
|
|
Subject: [PATCH 132/471] * grub-core/commands/ls.c
|
|
(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);
|
|
--
|
|
1.8.2.1
|
|
|