aboutsummaryrefslogtreecommitdiff
path: root/bin/ps/ps.c
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>2007-10-26 08:00:41 +0000
committerJulian Elischer <julian@FreeBSD.org>2007-10-26 08:00:41 +0000
commit7ab24ea3b9c35b2ff5e1e575111699e501ef203a (patch)
treee047e33390a9aae820357c54ff8602bc8faad475 /bin/ps/ps.c
parentc47b138a96ddc99079eedf58c9d91465e64fceae (diff)
Notes
Diffstat (limited to 'bin/ps/ps.c')
-rw-r--r--bin/ps/ps.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ps/ps.c b/bin/ps/ps.c
index ee2b7f82f526..7ced4f498160 100644
--- a/bin/ps/ps.c
+++ b/bin/ps/ps.c
@@ -98,6 +98,7 @@ int rawcpu; /* -C */
int sumrusage; /* -S */
int termwidth; /* Width of the screen (0 == infinity). */
int totwidth; /* Calculated-width of requested variables. */
+int showthreads; /* will threads be shown? */
struct velisthead varlist = STAILQ_HEAD_INITIALIZER(varlist);
@@ -175,7 +176,7 @@ main(int argc, char *argv[])
char *cols;
int all, ch, elem, flag, _fmt, i, lineno;
int nentries, nkept, nselectors;
- int prtheader, showthreads, wflag, what, xkeep, xkeep_implied;
+ int prtheader, wflag, what, xkeep, xkeep_implied;
char errbuf[_POSIX2_LINE_MAX];
(void) setlocale(LC_ALL, "");