summaryrefslogtreecommitdiffstats
path: root/sys-utils/lsns.c
diff options
context:
space:
mode:
authorW. Trevor King2015-12-15 20:46:25 +0100
committerKarel Zak2016-01-05 12:03:18 +0100
commitdd62675a87da03cacfc3cff79d60fa63346b91c0 (patch)
treea302e19189210f400786a1756d5b850b7ea65d70 /sys-utils/lsns.c
parentlslogins: fix getgrouplist() usage for 64BE (diff)
downloadkernel-qcow2-util-linux-dd62675a87da03cacfc3cff79d60fa63346b91c0.tar.gz
kernel-qcow2-util-linux-dd62675a87da03cacfc3cff79d60fa63346b91c0.tar.xz
kernel-qcow2-util-linux-dd62675a87da03cacfc3cff79d60fa63346b91c0.zip
lsns: Fix "lowers" -> "lowest" typo in --help for COL_PID
The process-selection logic is in add_process_to_namespace: if (!ns->proc || ns->proc->pid > proc->pid) ns->proc = proc; so it's just selecting the lowest PID. Signed-off-by: W. Trevor King <wking@tremily.us>
Diffstat (limited to 'sys-utils/lsns.c')
-rw-r--r--sys-utils/lsns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/lsns.c b/sys-utils/lsns.c
index 79189345a..725d8a481 100644
--- a/sys-utils/lsns.c
+++ b/sys-utils/lsns.c
@@ -84,7 +84,7 @@ static const struct colinfo infos[] = {
[COL_TYPE] = { "TYPE", 5, 0, N_("kind of namespace") },
[COL_PATH] = { "PATH", 0, 0, N_("path to the namespace")},
[COL_NPROCS] = { "NPROCS", 5, SCOLS_FL_RIGHT, N_("number of processes in the namespace") },
- [COL_PID] = { "PID", 5, SCOLS_FL_RIGHT, N_("lowers PID in the namespace") },
+ [COL_PID] = { "PID", 5, SCOLS_FL_RIGHT, N_("lowest PID in the namespace") },
[COL_PPID] = { "PPID", 5, SCOLS_FL_RIGHT, N_("PPID of the PID") },
[COL_COMMAND] = { "COMMAND", 0, SCOLS_FL_TRUNC, N_("command line of the PID")},
[COL_UID] = { "UID", 0, SCOLS_FL_RIGHT, N_("UID of the PID")},