Fix error message

This commit is contained in:
Přemysl Eric Janouch 2014-09-21 01:08:20 +02:00
parent 7a7c32aec0
commit 82a125a3c3

View File

@ -836,7 +836,7 @@ load_one_plugin (struct app_context *ctx, const char *name, const char *path)
name, "cannot find plugin info");
else if (info->api_version != API_VERSION)
print_error ("could not load `%s': %s",
name, "cannot find plugin info");
name, "incompatible API version");
else if (!info->initialize (ctx, &g_plugin_vtable))
print_error ("could not load `%s': %s",
name, "plugin initialization failed");