summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorRob Landley2005-09-05 05:36:15 +0000
committerRob Landley2005-09-05 05:36:15 +0000
commitcc1669bcde1fc773accaafcee4279a32bfaffd37 (patch)
tree39ec87b6f66221d74d6d66d83e13349435ce6c32 /libbb
parent8a7a678b0307f8390986f7020aea96b7927b72f4 (diff)
downloadbusybox-cc1669bcde1fc773accaafcee4279a32bfaffd37.zip
busybox-cc1669bcde1fc773accaafcee4279a32bfaffd37.tar.gz
Actually returning ret might be good.
Diffstat (limited to 'libbb')
-rw-r--r--libbb/get_terminal_width_height.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/get_terminal_width_height.c b/libbb/get_terminal_width_height.c
index ce3e83c..01136d4 100644
--- a/libbb/get_terminal_width_height.c
+++ b/libbb/get_terminal_width_height.c
@@ -38,6 +38,8 @@ int get_terminal_width_height(int fd, int *width, int *height)
if (win.ws_col <= 1) win.ws_col = 80;
if (height) *height = (int) win.ws_row;
if (width) *width = (int) win.ws_col;
+
+ return ret;
}
/* END CODE */