return GW_OK;
}
}
- gw_err("module %s not found\n", name);
+ gw_err("%s: no such module\n", name);
return GW_ERROR;
}
}
}
if(j == map_size(map)) {
- gw_err("{+R}[module]{0} {C}%s{0} not found\n", name);
+ gw_err("%s: no such module\n", name);
return GW_ERROR;
}
}
m_str * deps = base;
while (*deps) {
if(plugin_ini(gwion, *deps, loc) < 0) {
- gw_err("{-}[{0}{R+}missing plugin dependency{0}{-}]{0} missing {Y-}%s{0} plugin\n", *deps);
+ gw_err("%s: no such plugin (dependency)\n", *deps);
ret = false;
}
++deps;
const Env env = gwion->env;
if(_plugin_ini(gwion, iname, loc) < 0) {
if(gwion->env->context && !gwion->env->context->error)
- env_err(env, loc, "no such plugin\n");
+ env_err(env, loc, "%s: no such plugin\n", iname);
return GW_ERROR;
}
return GW_OK;
return drv;
}
}
- gw_err("can't find driver '%s'\n", dname);
+ gw_err("%s: no such driver\n", dname);
free(dname);
return NULL;
}