aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-12-11 14:17:02 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-12-11 14:17:02 +0100
commit9f5a577a3241597cb5e7ba9f6df33c2e3c440e44 (patch)
tree357e80554acabc44b00ef538581ff0caa8a28bce /coreutils
parentd2c879da256bee88f35ddf024d0bd46e3fd480d0 (diff)
downloadbusybox-w32-9f5a577a3241597cb5e7ba9f6df33c2e3c440e44.tar.gz
busybox-w32-9f5a577a3241597cb5e7ba9f6df33c2e3c440e44.tar.bz2
busybox-w32-9f5a577a3241597cb5e7ba9f6df33c2e3c440e44.zip
stty: fix columns command. closes bug 791.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/stty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/coreutils/stty.c b/coreutils/stty.c
index 0485b8011..776a16a76 100644
--- a/coreutils/stty.c
+++ b/coreutils/stty.c
@@ -1360,6 +1360,7 @@ int stty_main(int argc UNUSED_PARAM, char **argv)
1360#endif 1360#endif
1361#ifdef TIOCGWINSZ 1361#ifdef TIOCGWINSZ
1362 case param_cols: 1362 case param_cols:
1363 case param_columns:
1363 set_window_size(-1, xatoul_sfx(argnext, stty_suffixes)); 1364 set_window_size(-1, xatoul_sfx(argnext, stty_suffixes));
1364 break; 1365 break;
1365 case param_size: 1366 case param_size: