From: YoungHun Kim Date: Wed, 21 Aug 2024 09:28:39 +0000 (+0900) Subject: Remove to call rms_print_model_info() to access /dev X-Git-Tag: accepted/tizen/unified/20240828.164004~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59db44b9673c541a075ed509cadb211ea3c0f88b;p=platform%2Fcore%2Fmultimedia%2Frscmgr-service.git Remove to call rms_print_model_info() to access /dev - The following error occurs when booting at debugging function : systemd[1]: Started Create Static Device Nodes in /dev rscmgr-service[292]: DLog: inotify_add_watch failed (2) Change-Id: I433bb179e62a081b75723e75c2247ae1af54fedb --- diff --git a/src/CResourceService.cpp b/src/CResourceService.cpp index 6f36317..3b2b140 100644 --- a/src/CResourceService.cpp +++ b/src/CResourceService.cpp @@ -37,6 +37,7 @@ int CResourceService::Init(GMainLoop *main_loop) { CResourceManager *rsc_mgr = new CResourceManager(); + if (rsc_mgr->RegisterResources() != RMS_OK) { SERVER_ERR("RegisterResources is failed"); g_timeout_add(RM_SERVER_INVALID_TABLE_TIME_30000_MSEC, InvalidResourceTableMsgCallback, NULL); @@ -123,6 +124,5 @@ gboolean CResourceService::WatchDogCallback(gpointer data) gboolean CResourceService::InvalidResourceTableMsgCallback(gpointer data) { SERVER_ERR("resource table not loaded!"); - rms_print_model_info(); return G_SOURCE_CONTINUE; }