From: Youngjae Cho Date: Thu, 2 Mar 2023 08:49:22 +0000 (+0900) Subject: monitor: request-handler: Apply API for creating monitor X-Git-Tag: accepted/tizen/unified/20230310.062654^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13e70767b16facdfad2fd56a07135fa58b05b44a;p=platform%2Fcore%2Fsystem%2Fpass.git monitor: request-handler: Apply API for creating monitor Change-Id: I81786d80861a741039bd20719831597912c48cc6 Signed-off-by: Youngjae Cho --- diff --git a/src/monitor/request-handler.c b/src/monitor/request-handler.c index e069103..b05202c 100644 --- a/src/monitor/request-handler.c +++ b/src/monitor/request-handler.c @@ -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);