Fix long name (used by libxo) for the "tdnam" ps(1) keyword.

Reported by:	pluknet
MFC after:	2 weeks
Sponsored by:	DARPA, AFRL
This commit is contained in:
Edward Tomasz Napierala 2017-10-09 13:48:10 +00:00
parent a8373a7c1f
commit 42ee5c3342

View File

@ -199,7 +199,7 @@ static VAR var[] = {
{"tdaddr", "TDADDR", NULL, "thread-address", 0, kvar, KOFF(ki_tdaddr),
KPTR, "lx", 0},
{"tdev", "TDEV", NULL, "terminal-device", 0, tdev, 0, CHAR, NULL, 0},
{"tdnam", "TDNAM", NULL, "terminal-device-name", LJUST, tdnam, 0, CHAR,
{"tdnam", "TDNAM", NULL, "thread-name", LJUST, tdnam, 0, CHAR,
NULL, 0},
{"tdname", "", "tdnam", NULL, 0, NULL, 0, CHAR, NULL, 0},
{"time", "TIME", NULL, "cpu-time", USER, cputime, 0, CHAR, NULL, 0},