treewide: adjust ubus object type names
[project/rpcd.git] / plugin.c
index b0315dc15836f6f2b4972ff681adce09eb6b7bec..73b6c653106b1fcf6a636e50380e221b57cca098 100644 (file)
--- a/plugin.c
+++ b/plugin.c
@@ -395,7 +395,7 @@ rpc_plugin_parse_exec(const char *name, int fd)
                return NULL;
        }
 
-       if (asprintf((char **)&obj_type->name, "luci-rpc-plugin-%s", name) < 0) {
+       if (asprintf((char **)&obj_type->name, "rpcd-plugin-exec-%s", name) < 0) {
                free(obj);
                free(obj_type);
                return NULL;