diff options
Diffstat (limited to 'src/model.c')
-rw-r--r-- | src/model.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/model.c b/src/model.c index 3de53c9f..47e412ac 100644 --- a/src/model.c +++ b/src/model.c @@ -572,9 +572,9 @@ serd_model_add(SerdModel* model, const SerdNode* g) { if (!s || !p || !o) { - return serd_world_errorf(model->world, - SERD_ERR_BAD_ARG, - "attempt to add statement with NULL field\n"); + return SERD_LOG_ERROR(model->world, + SERD_ERR_BAD_ARG, + "attempt to add statement with NULL field\n"); } return serd_model_add_internal(model, |