summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/input/net_buf_ctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/net_buf_ctrl.c b/src/input/net_buf_ctrl.c
index 1ac0cb066..e8af1ae3f 100644
--- a/src/input/net_buf_ctrl.c
+++ b/src/input/net_buf_ctrl.c
@@ -133,7 +133,7 @@ static void display_stats (nbc_t *this) {
this->audio_in_disc,
buffering[this->buffering],
enabled[this->enabled],
- isatty (stdout) ? '\r' : '\n'
+ isatty (STDOUT_FILENO) ? '\r' : '\n'
);
fflush(stdout);
}