From 99f9caebe4989df40bbb82b5bc0beb4b84f11f8c Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 8 Feb 2003 01:00:55 +0000 Subject: One more fix for the difference between FILE and X_FILE. (This used to be commit 7e56014b2877cde489913310edbfd16c267d9859) --- source3/lib/readline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/readline.c') diff --git a/source3/lib/readline.c b/source3/lib/readline.c index c0ccf44715..8b90c32c7f 100644 --- a/source3/lib/readline.c +++ b/source3/lib/readline.c @@ -86,7 +86,7 @@ char *smb_readline(char *prompt, void (*callback)(void), char **(completion_fn)(char *text, int start, int end)) { #if HAVE_LIBREADLINE - if (isatty(fileno(x_stdin))) { + if (isatty(x_fileno(x_stdin))) { char *ret; /* Aargh! Readline does bizzare things with the terminal width -- cgit