From 28b004993002457974fdbb111dd2711c211511ee Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 15 Aug 2011 16:22:03 -0700 Subject: [PATCH] plugin: Use simpler version mismatch error --- src/plugin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugin.c b/src/plugin.c index ccfedb1..a3ceffd 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; } -- 2.7.4