diff options
author | David Robillard <d@drobilla.net> | 2010-03-12 01:39:30 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-03-12 01:39:30 +0000 |
commit | f3505f938253ebbfb18f6fe24c30a6b949251ce0 (patch) | |
tree | 5b2264ce8fa874d13918680cb24cc4eddf645d5b /src | |
parent | 0a18c35deb2dbc6efd4acd4a1ddc5c87b3887fb1 (diff) | |
download | lilv-f3505f938253ebbfb18f6fe24c30a6b949251ce0.tar.gz lilv-f3505f938253ebbfb18f6fe24c30a6b949251ce0.tar.bz2 lilv-f3505f938253ebbfb18f6fe24c30a6b949251ce0.zip |
Fix wonky error messages.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2546 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/plugin.c | 2 | ||||
-rw-r--r-- | src/world.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/plugin.c b/src/plugin.c index cc62ea8..7e2442a 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -498,7 +498,7 @@ slv2_plugin_get_value_for_subject(SLV2Plugin p, SLV2Value predicate) { if ( ! slv2_value_is_uri(subject)) { - SLV2_ERROR("slv2_plugin_get_value_for_subject: subject not a URI\n"); + SLV2_ERROR("Subject is not a URI\n"); return NULL; } diff --git a/src/world.c b/src/world.c index cec9feb..863ef5c 100644 --- a/src/world.c +++ b/src/world.c @@ -95,8 +95,7 @@ slv2_world_new_storage(SLV2World world) world->world, "trees", NULL, options); if (!ret) { warned = true; - SLV2_WARN("Warning: Unable to create \"trees\" RDF storage.\n" - "Performance can be improved by upgrading librdf.\n"); + SLV2_WARN("Unable to create \"trees\" RDF storage, you should upgrade librdf.\n"); ret = librdf_new_storage(world->world, "hashes", NULL, "hash-type='memory'"); } |