monitor: request-handler: Apply API for creating monitor 89/289189/1 accepted/tizen/unified/20230310.062654
authorYoungjae Cho <y0.cho@samsung.com>
Thu, 2 Mar 2023 08:49:22 +0000 (17:49 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Thu, 2 Mar 2023 08:50:05 +0000 (17:50 +0900)
Change-Id: I81786d80861a741039bd20719831597912c48cc6
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/monitor/request-handler.c

index e069103..b05202c 100644 (file)
@@ -107,7 +107,7 @@ static int handle_request_create_resource(struct request_client *client, char *a
         */
        resource_type = atoi(args);
 
-       ret = syscommon_resman_create_resource(&res_inst->id, resource_type);
+       ret = syscommon_resman_monitor_create_resource(&res_inst->id, resource_type);
        if (ret < 0) {
                _E("failed to create resource, res:type(%d)\n", resource_type);
                free(res_inst);