projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31905f9
)
pstree: use stdin for screen size detection
author
Denys Vlasenko
<dvlasenk@redhat.com>
Mon, 6 Dec 2010 11:54:24 +0000
(12:54 +0100)
committer
Denys Vlasenko
<dvlasenk@redhat.com>
Mon, 6 Dec 2010 11:54:24 +0000
(12:54 +0100)
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
procps/pstree.c
patch
|
blob
|
history
diff --git
a/procps/pstree.c
b/procps/pstree.c
index 54a910f76f47da762e2acfbcde83b897a7e4aea3..180d0939a6442a558ec9e6423bbe27c0bed4740d 100644
(file)
--- a/
procps/pstree.c
+++ b/
procps/pstree.c
@@
-373,7
+373,7
@@
int pstree_main(int argc UNUSED_PARAM, char **argv)
INIT_G();
- get_terminal_width_height(
1
, &G.output_width, NULL);
+ get_terminal_width_height(
0
, &G.output_width, NULL);
opt_complementary = "?1";
getopt32(argv, "p");