diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-04-14 15:59:17 +0100 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-04-14 15:59:17 +0100 |
commit | 9c8e4a2b16306a24d37053d7dc12c6de98afd74b (patch) | |
tree | 4ed25311a180b7c77701851e9376de470b0eb31e | |
parent | 7674ac43ca10034e1bfdbf283db75da7041ddb27 (diff) | |
download | xine-lib-9c8e4a2b16306a24d37053d7dc12c6de98afd74b.tar.gz xine-lib-9c8e4a2b16306a24d37053d7dc12c6de98afd74b.tar.bz2 |
Oops. Silly mistake with fstat.
-rw-r--r-- | src/input/input_dvb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/input_dvb.c b/src/input/input_dvb.c index a8598a001..ae7c0c21e 100644 --- a/src/input/input_dvb.c +++ b/src/input/input_dvb.c @@ -895,7 +895,7 @@ static channel_t *load_channels(xine_t *xine, xine_stream_t *stream, int *num_ch _x_message(stream, XINE_MSG_FILE_NOT_FOUND, filename, "Please run the dvbscan utility.", NULL); return NULL; } - if (fstat (f, &st) || !S_ISREG (st.st_mode)) { + if (fstat(fileno(f), &st) || !S_ISREG (st.st_mode)) { xprintf(xine, XINE_VERBOSITY_LOG, _("input_dvb: dvb channel file '%s' is not a plain file\n"), filename); fclose(f); return NULL; |