diff options
author | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2010-02-10 16:15:10 -0800 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-02-10 23:52:13 -0600 |
commit | ec7b597bd9288f4b15edfb8a2ca8f6c78f6fd970 (patch) | |
tree | 1bb4d2a8b80f705aa8e0742b5269ae2eb7006d3c /src/plugin.c | |
parent | 8b54792cddd8e380b3a8a36636af7f8a665bef10 (diff) | |
download | ofono-ec7b597bd9288f4b15edfb8a2ca8f6c78f6fd970.tar.bz2 |
Fix: plugin version mismatch warning
When complaining about plugin version mismatch, print the
version information
Diffstat (limited to 'src/plugin.c')
-rw-r--r-- | src/plugin.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |