summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--more.c2
-rw-r--r--procps/ps.c2
-rw-r--r--ps.c2
-rw-r--r--util-linux/more.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/more.c b/more.c
index 841e283..91c2815 100644
--- a/more.c
+++ b/more.c
@@ -78,7 +78,7 @@ extern int more_main(int argc, char **argv)
FILE *file;
#if defined BB_FEATURE_AUTOWIDTH && defined BB_FEATURE_USE_TERMIOS
- struct winsize win = { 0, 0 };
+ struct winsize win = { 0, 0, 0, 0 };
#endif
argc--;
diff --git a/procps/ps.c b/procps/ps.c
index 99c9eda..b070e39 100644
--- a/procps/ps.c
+++ b/procps/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
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
diff --git a/util-linux/more.c b/util-linux/more.c
index 841e283..91c2815 100644
--- a/util-linux/more.c
+++ b/util-linux/more.c
@@ -78,7 +78,7 @@ extern int more_main(int argc, char **argv)
FILE *file;
#if defined BB_FEATURE_AUTOWIDTH && defined BB_FEATURE_USE_TERMIOS
- struct winsize win = { 0, 0 };
+ struct winsize win = { 0, 0, 0, 0 };
#endif
argc--;