From cdeee7eb6710adb3fee02c4e5f1e7493f2af70cc Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Thu, 25 Feb 2010 00:09:11 +0000 Subject: isatty() takes an int, not a FILE *. --- src/input/net_buf_ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } -- cgit v1.2.3