[PATCH 1/6] lscpu: switch Yes/No output to lower case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Some people complained about the first letter of Yes/No as seen in the
online and configured column in the human readabe output being a capital
letter instead of the expected lower case letter.
So let's try to make everbody happy and convert them to lower case.

Signed-off-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
---
 sys-utils/lscpu.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c
index 8637ef1..66fa971 100644
--- a/sys-utils/lscpu.c
+++ b/sys-utils/lscpu.c
@@ -850,7 +850,7 @@ get_cell_data(struct lscpu_desc *desc, int cpu, int col,
 				 desc->configured[cpu] ? _("Y") : _("N"));
 		else
 			snprintf(buf, bufsz,
-				 desc->configured[cpu] ? _("Yes") : _("No"));
+				 desc->configured[cpu] ? _("yes") : _("no"));
 		break;
 	case COL_ONLINE:
 		if (!desc->online)
@@ -860,7 +860,7 @@ get_cell_data(struct lscpu_desc *desc, int cpu, int col,
 				 is_cpu_online(desc, cpu) ? _("Y") : _("N"));
 		else
 			snprintf(buf, bufsz,
-				 is_cpu_online(desc, cpu) ? _("Yes") : _("No"));
+				 is_cpu_online(desc, cpu) ? _("yes") : _("no"));
 		break;
 	}
 	return buf;
-- 
1.7.6.3

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux