summaryrefslogtreecommitdiffstats
path: root/stream/stream_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_file.c')
-rw-r--r--stream/stream_file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/stream/stream_file.c b/stream/stream_file.c
index 87e77d7bf3..b638fdddf0 100644
--- a/stream/stream_file.c
+++ b/stream/stream_file.c
@@ -187,7 +187,7 @@ static int open_f(stream_t *stream, int mode)
}
const stream_info_t stream_info_file = {
- "file",
- open_f,
- { "file", "", NULL },
+ .name = "file",
+ .open = open_f,
+ .protocols = (const char*[]){ "file", "", NULL },
};