obeyed a warning
authorceriel <none@none>
Mon, 2 Feb 1987 20:54:56 +0000 (20:54 +0000)
committerceriel <none@none>
Mon, 2 Feb 1987 20:54:56 +0000 (20:54 +0000)
lang/cem/libcc/gen/isatty.c

index aeee7ff..b68171f 100644 (file)
@@ -6,6 +6,6 @@ isatty(f)
           where gtty is an ioctl(..., TCGETA, ...)
        */
 
-       if (gtty(f, &buf) < 0) return 0;
+       if (gtty(f, buf) < 0) return 0;
        return 1;
 }