obeyed a warning

This commit is contained in:
ceriel 1987-02-02 20:54:56 +00:00
parent d70c1e2149
commit a8820459d5

View 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;
}