Skip to content

Commit 2c6f92f

Browse files
committed
ChafaTerm: Don't use fileno()
1 parent 609e768 commit 2c6f92f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/chafa/chafa-term.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -677,9 +677,9 @@ static ChafaTerm *
677677
term_new_default (void)
678678
{
679679
return term_new_full (NULL,
680-
fileno (stdin),
681-
fileno (stdout),
682-
fileno (stderr));
680+
STDIN_FILENO,
681+
STDOUT_FILENO,
682+
STDERR_FILENO);
683683
}
684684

685685
static ChafaTerm *

0 commit comments

Comments
 (0)