summaryrefslogtreecommitdiff
path: root/src/input/net_buf_ctrl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/net_buf_ctrl.c')
-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 b7a52eb2b..c0345f652 100644
--- a/src/input/net_buf_ctrl.c
+++ b/src/input/net_buf_ctrl.c
@@ -129,7 +129,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);
}