From 847b982ee321f05c3d01c2bbf2e155d19aab6c62 Mon Sep 17 00:00:00 2001 From: Heiko Carstens Date: Mon, 10 Oct 2011 10:59:39 +0200 Subject: lscpu: switch Yes/No output to lower case 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 --- sys-utils/lscpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys-utils/lscpu.c') diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c index 8637ef194..66fa971d6 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; -- cgit v1.2.3-55-g7522