Fix: plugin version mismatch warning

When complaining about plugin version mismatch, print the
version information
This commit is contained in:
Inaky Perez-Gonzalez 2010-02-10 16:15:10 -08:00 committed by Denis Kenzior
parent 8b54792cdd
commit ec7b597bd9
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}