diff options
Diffstat (limited to 'tools/console.c')
-rw-r--r-- | tools/console.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/console.c b/tools/console.c index 012c50a3..72b9b222 100644 --- a/tools/console.c +++ b/tools/console.c @@ -53,8 +53,8 @@ serd_set_base_uri_from_path(SerdEnv* const env, const char* const path) return SERD_BAD_ARG; } - SerdNode* const file_uri = - serd_new_file_uri(NULL, serd_string(input_path), serd_empty_string()); + SerdNode* const file_uri = serd_node_new( + NULL, serd_a_file_uri(serd_string(input_path), serd_empty_string())); serd_env_set_base_uri(env, serd_node_string_view(file_uri)); serd_node_free(NULL, file_uri); |