summaryrefslogtreecommitdiffstats
path: root/src/port.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-30 03:03:42 +0000
committerDavid Robillard <d@drobilla.net>2011-04-30 03:03:42 +0000
commit7a507f3805a849b906eb78ed1debef0c9812bb3a (patch)
tree9dce35a243eb3e3e6d519f116f3ec7be77666385 /src/port.c
parentd55f87b341e1855f2f6f544649f17f36aa22d7e4 (diff)
downloadlilv-7a507f3805a849b906eb78ed1debef0c9812bb3a.tar.gz
lilv-7a507f3805a849b906eb78ed1debef0c9812bb3a.tar.bz2
lilv-7a507f3805a849b906eb78ed1debef0c9812bb3a.zip
Consistent error and warning message style.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3243 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/port.c')
-rw-r--r--src/port.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/port.c b/src/port.c
index 2161f0f..a23f737 100644
--- a/src/port.c
+++ b/src/port.c
@@ -121,7 +121,7 @@ lilv_port_get_value(const LilvPlugin* p,
const LilvNode* predicate)
{
if (!lilv_node_is_uri(predicate)) {
- LILV_ERROR("Predicate is not a URI\n");
+ LILV_ERRORF("Predicate `%s' is not a URI\n", predicate->str_val);
return NULL;
}
@@ -155,7 +155,7 @@ lilv_port_get_name(const LilvPlugin* p,
}
if (!ret)
- LILV_WARNF("<%s> has no (mandatory) doap:name\n",
+ LILV_WARNF("Plugin <%s> port has no (mandatory) doap:name\n",
lilv_node_as_string(lilv_plugin_get_uri(p)));
return ret;