From 8f3c2c8c337cbfbd064fbe1e6180f1be15db21f1 Mon Sep 17 00:00:00 2001 From: ceriel Date: Fri, 30 Jan 1987 09:45:41 +0000 Subject: [PATCH] bug fix --- lang/cem/libcc/gen/isatty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/cem/libcc/gen/isatty.c b/lang/cem/libcc/gen/isatty.c index 4fa9cad3..aeee7ff7 100644 --- a/lang/cem/libcc/gen/isatty.c +++ b/lang/cem/libcc/gen/isatty.c @@ -6,6 +6,6 @@ isatty(f) where gtty is an ioctl(..., TCGETA, ...) */ - if (gtty(f, &ttyb) < 0) return 0; + if (gtty(f, &buf) < 0) return 0; return 1; }