diff options
Diffstat (limited to 'src/reader.c')
-rw-r--r-- | src/reader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reader.c b/src/reader.c index ba3559bc..b7e18d2a 100644 --- a/src/reader.c +++ b/src/reader.c @@ -35,8 +35,8 @@ r_err(SerdReader* reader, SerdStatus st, const char* fmt, ...) { va_list args; va_start(args, fmt); - const SerdError e = {st, &reader->source->cur, fmt, &args}; - serd_world_error(reader->world, &e); + serd_world_vlogf_internal( + reader->world, st, SERD_LOG_LEVEL_ERR, &reader->source->cur, fmt, args); va_end(args); return st; } |