diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-12-06 12:54:24 +0100 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-12-06 12:54:24 +0100 |
commit | 86aa8030470b6978a099194402de0f692c477c79 (patch) | |
tree | 3af0ac505e392715d2e19925658ecfcc60084835 | |
parent | 31905f94777ae6e7181e9fbcc0cc7c4cf70abfaf (diff) | |
download | busybox-86aa8030470b6978a099194402de0f692c477c79.tar.gz |
pstree: use stdin for screen size detection
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
-rw-r--r-- | procps/pstree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/pstree.c b/procps/pstree.c index 54a910f76..180d0939a 100644 --- 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"); |