aboutsummaryrefslogtreecommitdiffstats
path: root/src/serdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/serdi.c')
-rw-r--r--src/serdi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/serdi.c b/src/serdi.c
index 22727c46..379ab1b9 100644
--- a/src/serdi.c
+++ b/src/serdi.c
@@ -76,10 +76,10 @@ missing_arg(const char* name, char opt)
}
static SerdStatus
-quiet_error_sink(void* handle, const SerdError* e)
+quiet_error_sink(void* handle, const SerdMessage* msg)
{
(void)handle;
- (void)e;
+ (void)msg;
return SERD_SUCCESS;
}
@@ -219,7 +219,7 @@ main(int argc, char** argv)
serd_reader_set_strict(reader, !lax);
if (quiet) {
- serd_world_set_error_sink(world, quiet_error_sink, NULL);
+ serd_world_set_message_sink(world, quiet_error_sink, NULL);
}
SerdNode* root = serd_new_uri(root_uri);