From 229a2b3040a479ccc6052fe6d6c464fe301151c9 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Sat, 30 Jan 1999 05:29:56 +0000 Subject: Sat Jan 30 00:27:14 1999 Thomas Bushnell, BSG * munge.c (create_queue): Make sure that malloc succeeds. Reported by OKUJI Yoshinori . --- term/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'term/main.c') diff --git a/term/main.c b/term/main.c index 10ed9eef..d14c7c48 100644 --- a/term/main.c +++ b/term/main.c @@ -172,7 +172,9 @@ main (int argc, char **argv) term_mode = (bottom == &ptyio_bottom ? 0666 : 0600) | S_IFCHR | S_IROOT; inputq = create_queue (256, QUEUE_LOWAT, QUEUE_HIWAT); + rawq = create_queue (256, QUEUE_LOWAT, QUEUE_HIWAT); + outputq = create_queue (256, QUEUE_LOWAT, QUEUE_HIWAT); if (bottom == &ptyio_bottom) -- cgit v1.2.3