aboutsummaryrefslogtreecommitdiffstats
path: root/src/input_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_file.c')
-rw-r--r--src/input_file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input_file.c b/src/input_file.c
index 5eee8101c..1b6d82f9d 100644
--- a/src/input_file.c
+++ b/src/input_file.c
@@ -62,6 +62,7 @@ input_file_open(struct input_stream *is, const char *filename)
posix_fadvise(fd, (off_t)0, is->size, POSIX_FADV_SEQUENTIAL);
#endif
+ is->plugin = &input_plugin_file;
is->data = GINT_TO_POINTER(fd);
is->ready = true;