summaryrefslogtreecommitdiff
path: root/ps.c
diff options
context:
space:
mode:
Diffstat (limited to 'ps.c')
-rw-r--r--ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ps.c b/ps.c
index 99c9eda..b070e39 100644
--- a/ps.c
+++ b/ps.c
@@ -216,7 +216,7 @@ extern int ps_main(int argc, char **argv)
char uidName[10] = "";
char groupName[10] = "";
#ifdef BB_FEATURE_AUTOWIDTH
- struct winsize win = { 0, 0 };
+ struct winsize win = { 0, 0, 0, 0 };
int terminal_width = TERMINAL_WIDTH;
#else
#define terminal_width TERMINAL_WIDTH