diff options
author | Heiko Carstens | 2011-10-10 10:59:39 +0200 |
---|---|---|
committer | Karel Zak | 2011-10-11 11:36:03 +0200 |
commit | 847b982ee321f05c3d01c2bbf2e155d19aab6c62 (patch) | |
tree | dea458407743ffa0c22d3df98396ab9a6f36f9f2 /sys-utils/lscpu.c | |
parent | mountpoint: support symbolic and relative paths (diff) | |
download | kernel-qcow2-util-linux-847b982ee321f05c3d01c2bbf2e155d19aab6c62.tar.gz kernel-qcow2-util-linux-847b982ee321f05c3d01c2bbf2e155d19aab6c62.tar.xz kernel-qcow2-util-linux-847b982ee321f05c3d01c2bbf2e155d19aab6c62.zip |
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 <heiko.carstens@de.ibm.com>
Diffstat (limited to 'sys-utils/lscpu.c')
-rw-r--r-- | 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 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; |