From f3505f938253ebbfb18f6fe24c30a6b949251ce0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 12 Mar 2010 01:39:30 +0000 Subject: Fix wonky error messages. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2546 a436a847-0d15-0410-975c-d299462d15a1 --- src/plugin.c | 2 +- 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'"); } -- cgit v1.2.1