bug fix
authorceriel <none@none>
Fri, 30 Jan 1987 09:45:41 +0000 (09:45 +0000)
committerceriel <none@none>
Fri, 30 Jan 1987 09:45:41 +0000 (09:45 +0000)
lang/cem/libcc/gen/isatty.c

index 4fa9cad..aeee7ff 100644 (file)
@@ -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;
 }