Fix error message
This commit is contained in:
parent
7a7c32aec0
commit
82a125a3c3
|
@ -836,7 +836,7 @@ load_one_plugin (struct app_context *ctx, const char *name, const char *path)
|
||||||
name, "cannot find plugin info");
|
name, "cannot find plugin info");
|
||||||
else if (info->api_version != API_VERSION)
|
else if (info->api_version != API_VERSION)
|
||||||
print_error ("could not load `%s': %s",
|
print_error ("could not load `%s': %s",
|
||||||
name, "cannot find plugin info");
|
name, "incompatible API version");
|
||||||
else if (!info->initialize (ctx, &g_plugin_vtable))
|
else if (!info->initialize (ctx, &g_plugin_vtable))
|
||||||
print_error ("could not load `%s': %s",
|
print_error ("could not load `%s': %s",
|
||||||
name, "plugin initialization failed");
|
name, "plugin initialization failed");
|
||||||
|
|
Loading…
Reference in New Issue