diff options
Diffstat (limited to 'stream/stream_memory.c')
-rw-r--r-- | stream/stream_memory.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stream/stream_memory.c b/stream/stream_memory.c index eaf74bb07e..ff2b42e020 100644 --- a/stream/stream_memory.c +++ b/stream/stream_memory.c @@ -72,7 +72,7 @@ static int open_f(stream_t *stream, int mode) } const stream_info_t stream_info_memory = { - "memory", - open_f, - { "memory", NULL }, + .name = "memory", + .open = open_f, + .protocols = (const char*[]){ "memory", NULL }, }; |