From ec7b597bd9288f4b15edfb8a2ca8f6c78f6fd970 Mon Sep 17 00:00:00 2001 From: Inaky Perez-Gonzalez Date: Wed, 10 Feb 2010 16:15:10 -0800 Subject: [PATCH] Fix: plugin version mismatch warning When complaining about plugin version mismatch, print the version information --- src/plugin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugin.c b/src/plugin.c index bc95d5d8..159014bb 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -53,7 +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", desc->description); + ofono_error("Version mismatch for %s: found %s, expected %s", + desc->description, desc->version, OFONO_VERSION); return FALSE; }