aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reader.c')
-rw-r--r--src/reader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader.c b/src/reader.c
index 83f13e8c..90fee2db 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -260,7 +260,7 @@ serd_reader_start_file(SerdReader* reader, const char* uri, bool bulk)
return SERD_BAD_ARG;
}
- FILE* fd = serd_fopen(path, "rb");
+ FILE* fd = serd_world_fopen(reader->world, path, "rb");
free(path);
if (!fd) {
return SERD_BAD_STREAM;