summaryrefslogtreecommitdiff
path: root/miscutils/chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/chat.c')
-rw-r--r--miscutils/chat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/miscutils/chat.c b/miscutils/chat.c
index 25850dd..6b429f2 100644
--- a/miscutils/chat.c
+++ b/miscutils/chat.c
@@ -286,9 +286,10 @@ int chat_main(int argc UNUSED_PARAM, char **argv)
&& poll(&pfd, 1, timeout) > 0
&& (pfd.revents & POLLIN)
) {
-#define buf bb_common_bufsiz1
llist_t *l;
ssize_t delta;
+#define buf bb_common_bufsiz1
+ setup_common_bufsiz();
// read next char from device
if (safe_read(STDIN_FILENO, buf+buf_len, 1) > 0) {