obeyed a warning
This commit is contained in:
parent
d70c1e2149
commit
a8820459d5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue