plugin: Use simpler version mismatch error

This commit is contained in:
Marcel Holtmann 2011-08-15 16:22:03 -07:00
parent 652b2d0c43
commit 28b0049930
1 changed files with 2 additions and 2 deletions

View File

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