From ae504890c783aca4cfd0710af01f326e804596a8 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 4fa9cad35..aeee7ff7a 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; } -- 2.34.1