summaryrefslogtreecommitdiff
path: root/plugin.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-12-08 20:07:28 +0100
committerJo-Philipp Wich <jo@mein.io>2021-12-08 20:09:24 +0100
commit9c6ba382875dc4b3264a6363a2e0e63dbb2b95b9 (patch)
tree8574a9336d7c5f1c3a34fec22eb372e6ee953b98 /plugin.c
parent75a96dc281d4e3652655155e85ea04abcffcb5e9 (diff)
downloadrpcd-9c6ba382875dc4b3264a6363a2e0e63dbb2b95b9.tar.gz
treewide: adjust ubus object type names
Drop the historically inherited "luci-rpc-" prefix and replace it with a more appropriate "rpcd-plugin-" string. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'plugin.c')
-rw-r--r--plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin.c b/plugin.c
index b0315dc..73b6c65 100644
--- 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;