top: change to exploit a newly added UID used at login

In addition to exploiting the login user ID provision,
the following miscellaneous changes are also included:

. unnecessary braces have been eliminated from an 'if'

. a comment with case EU_CPU: was corrected to 's_int'
and the associated block of code relocated accordingly

. case EU_CPN: wasn't shared with other enumerators so
reference to 'i' was changed to that actual enumerator

. case EU_SGN: wasn't shared with other enumerators so
reference to 'i' was changed to that actual enumerator

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner
2018-02-11 03:33:33 -06:00
committed by Craig Small
parent 22887a61e1
commit 2119750a51
4 changed files with 84 additions and 69 deletions

View File

@@ -305,6 +305,9 @@ static void build_two_nlstabs (void) {
/* Translation Hint: maximum 'NU' = 2 */
Head_nlstab[EU_NMA] = _("NU");
Desc_nlstab[EU_NMA] = _("Last Used NUMA node");
/* Translation Hint: maximum 'LOGID' = 5 + */
Head_nlstab[EU_LID] = _("LOGID");
Desc_nlstab[EU_LID] = _("Login User Id");
}