mirror of git://git.sysmocom.de/ofono
Fix: plugin version mismatch warning
When complaining about plugin version mismatch, print the version information
This commit is contained in:
parent
8b54792cdd
commit
ec7b597bd9
|
@ -53,7 +53,8 @@ static gboolean add_plugin(void *handle, struct ofono_plugin_desc *desc)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
if (g_str_equal(desc->version, OFONO_VERSION) == 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;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue