summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2010-02-25 00:09:11 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2010-02-25 00:09:11 +0000
commitcdeee7eb6710adb3fee02c4e5f1e7493f2af70cc (patch)
tree18fea3ccb7bb31dbc6fbe0843f12eeb4e62ecb49
parentcb82d7b686affd1d90e72b88acddf8d8d99ed972 (diff)
downloadxine-lib-cdeee7eb6710adb3fee02c4e5f1e7493f2af70cc.tar.gz
xine-lib-cdeee7eb6710adb3fee02c4e5f1e7493f2af70cc.tar.bz2
isatty() takes an int, not a FILE *.
-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);
}