summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2011-08-15 16:22:03 -0700
committerMarcel Holtmann <marcel@holtmann.org>2011-08-15 16:22:03 -0700
commit28b004993002457974fdbb111dd2711c211511ee (patch)
treeca370fabd8047b639fbd6a819bbb76d790638cf0
parent652b2d0c4305bbff41c456f31ee465f1103ec5f8 (diff)
plugin: Use simpler version mismatch error
-rw-r--r--src/plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugin.c b/src/plugin.c
index ccfedb1b..a3ceffd8 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -53,8 +53,8 @@ static gboolean add_plugin(void *handle, struct ofono_plugin_desc *desc)
return FALSE;
if (g_str_equal(desc->version, OFONO_VERSION) == FALSE) {
- ofono_error("Version mismatch for %s: found %s, expected %s",
- desc->description, desc->version, OFONO_VERSION);
+ ofono_error("Invalid version %s for %s", desc->version,
+ desc->description);
return FALSE;
}