From: Heiko Carstens Date: Mon, 10 Oct 2011 08:59:39 +0000 (+0200) Subject: lscpu: switch Yes/No output to lower case X-Git-Tag: v2.21-rc1~343 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=847b982ee321f05c3d01c2bbf2e155d19aab6c62;p=thirdparty%2Futil-linux.git 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 --- diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c index 8637ef1949..66fa971d6e 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;